aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorYao Wang1 <[email protected]>2022-08-22 10:30:31 +0000
committerAlex Deucher <[email protected]>2022-09-13 18:27:00 +0000
commit3601d620f22e37740cf73f8278eabf9f2aa19eb7 (patch)
treef3d2e8508d45e2cbe0b0ef8a5cdb4db48646ff55 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amd/display: add workaround for subvp cursor corruption for DCN32/321 (diff)
downloadkernel-3601d620f22e37740cf73f8278eabf9f2aa19eb7.tar.gz
kernel-3601d620f22e37740cf73f8278eabf9f2aa19eb7.zip
drm/amd/display: Limit user regamma to a valid value
[Why] For HDR mode, we get total 512 tf_point and after switching to SDR mode we actually get 400 tf_point and the rest of points(401~512) still use dirty value from HDR mode. We should limit the rest of the points to max value. [How] Limit the value when coordinates_x.x > 1, just like what we do in translate_from_linear_space for other re-gamma build paths. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Krunoslav Kovac <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Pavle Kotarac <[email protected]> Signed-off-by: Yao Wang1 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions