aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorSamson Tam <[email protected]>2024-10-18 04:26:41 +0000
committerAlex Deucher <[email protected]>2024-10-28 20:37:02 +0000
commitf3928f3d481920c748328192ec2ed4ab5d125d6b (patch)
tree84748d0ac34173aa1459d3e4b6643eadbdad6644 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/display: Do not read DSC state if not in use (diff)
downloadkernel-f3928f3d481920c748328192ec2ed4ab5d125d6b.tar.gz
kernel-f3928f3d481920c748328192ec2ed4ab5d125d6b.zip
drm/amd/display: store sharpness 1dlut table in dscl_prog_data
[Why] Previously dscl_prog_data stored pointer to sharpness 1dlut table. SPL had four pre-generated tables, one for each setup. This allowed us to minimize number of times we had to recalculate table when switching between setups. However, with dual display, this becomes an issue because for a given setup, we could have a different per app sharpness value than the global sharpness value. So the pre-generated table will change but both displays may point to the same table and one of them will have the wrong sharpness setting. [How] Store the sharpness 1dlut table in dscl_prog_data. This ensures that each display can have its own sharpness setting. Reviewed-by: Ilya Bakoulin <[email protected]> Signed-off-by: Samson Tam <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions