diff options
author | Krunoslav Kovac <Krunoslav.Kovac@amd.com> | 2019-10-04 13:49:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-25 16:50:09 -0400 |
commit | 50575eb5b339683ee148189beae5eb53ccb3158b (patch) | |
tree | bb307747c9a5f358152f0faee5ea81cd8016beed /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 622a88c8259e2e517e7145595715d661774c859e (diff) | |
download | linux-50575eb5b339683ee148189beae5eb53ccb3158b.tar.gz linux-50575eb5b339683ee148189beae5eb53ccb3158b.tar.bz2 linux-50575eb5b339683ee148189beae5eb53ccb3158b.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions