linux_dsm_epyc7002/drivers/gpu/drm/amd
Krunoslav Kovac 50575eb5b3 drm/amd/display: Only use EETF when maxCL > max display
[Why&How]
BT.2390 EETF is used for tone mapping/range reduction.
Say display is 0.1 - 500 nits.
The problematic case is when content is 0-400. We apply EETF because
0<0.1 so we need to reduce the range by 0.1.

In the commit, we ignore the bottom range. Most displays map 0 to min and
then have a ramp to 0.1, so sending 0.1 is actually >0.1.
Furthermode, HW that uses 3D LUT also assumes min=0.

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-25 16:50:09 -04:00
..
acp
amdgpu drm/amdgpu/psp: fix spelling mistake "initliaze" -> "initialize" 2019-10-25 16:50:07 -04:00
amdkfd drm/amdkfd: update for drmP.h removal 2019-10-09 12:04:48 -05:00
display drm/amd/display: Only use EETF when maxCL > max display 2019-10-25 16:50:09 -04:00
include drm/amdgpu: update atomfirmware header with memory training related members(v3) 2019-10-17 16:31:25 -04:00
powerplay drm/amd/powerplay: update Arcturus driver smu interface XGMI link part 2019-10-25 16:50:07 -04:00