linux_dsm_epyc7002/drivers/gpu/drm/amd/display/modules
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
..
color drm/amd/display: Only use EETF when maxCL > max display 2019-10-25 16:50:09 -04:00
freesync drm/amd/display: Add capability check for static ramp calc 2019-10-10 19:34:20 -05:00
hdcp drm/amd/display: fix spelling mistake AUTHENICATED -> AUTHENTICATED 2019-10-03 13:51:19 -05:00
inc drm/amd/display: add support for VSIP info packet 2019-10-10 19:25:22 -05:00
info_packet drm/amd/display: add support for VSIP info packet 2019-10-10 19:25:22 -05:00
power drm/amd/display: set minimum abm backlight level 2019-10-03 09:10:57 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00
vmid drm/amd/display: add missing mod_vmid destructor 2019-06-22 09:34:14 -05:00