linux_dsm_epyc7002/drivers/gpu/drm/amd
Leo (Sunpeng) Li 086247a4b2 drm/amd/display: Use 4096 lut entries
Points in the DRM LUT are spaced linearly. Points in hardware are spaced
exponentially, with greater density towards 0. To maintain low-end
accuracy in hardware when sampling the DRM LUT, more points are needed.

However, X doesn't seem to play with legacy LUTs of such size.
Therefore, check for legacy lut when updating DC states, and update
accordingly.

v2: Use a macro for the maximum drm LUT value.

v3: Update commit to reflect that this does not map 1-1 to HW

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-03-05 15:33:09 -05:00
..
acp drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
amdgpu drm/amdgpu: used cached pcie gen info for SI (v2) 2018-03-05 13:30:55 -05:00
amdkfd drm/amdkfd: Fix potential NULL pointer dereferences 2018-01-10 17:15:09 -06:00
display drm/amd/display: Use 4096 lut entries 2018-03-05 15:33:09 -05:00
include drm/amdgpu: Add query vram width in CGS query system info 2018-02-26 23:09:36 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/pp: Print more smu failed info on Vega10 2018-02-28 14:18:06 -05:00