aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorSamson Tam <Samson.Tam@amd.com>2024-10-18 00:26:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-10-28 16:37:02 -0400
commitf3928f3d481920c748328192ec2ed4ab5d125d6b (patch)
tree84748d0ac34173aa1459d3e4b6643eadbdad6644 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parent558cec793e73e5d22c96c56b1f70c83a8ce4b672 (diff)
downloadlinux-f3928f3d481920c748328192ec2ed4ab5d125d6b.tar.gz
linux-f3928f3d481920c748328192ec2ed4ab5d125d6b.tar.bz2
linux-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 <ilya.bakoulin@amd.com> Signed-off-by: Samson Tam <Samson.Tam@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions