1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dpp
Samson Tam f3928f3d48 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>
2024-10-28 16:37:02 -04:00
..
dcn10 drm/amd/display: Remove unnecessary call to REG_SEQ_SUBMIT|WAIT_DONE 2024-08-13 12:12:51 -04:00
dcn20 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn30 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn32 drm/amd/display: Remove unnecessary files 2024-04-30 09:52:21 -04:00
dcn35 drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35 2024-10-22 17:50:38 -04:00
dcn201 drm/amd/display: Remove unnecessary files 2024-04-30 09:52:21 -04:00
dcn401 drm/amd/display: store sharpness 1dlut table in dscl_prog_data 2024-10-28 16:37:02 -04:00
Makefile drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00