linux/drivers/gpu/drm/amd
Noah Abradjian 2c1a180ac1 drm/amd/display: Double buffer dcn2 Gamut Remap
[Why]
When rapidly adjusting color temperature, screen tearing was observed.
This was due to overwritten values in gamut remap registers.
This issue was solved for OCSC and ICSC by alternating between "A" and
"B" registers to double buffer the writes.

[How]
Create new set_gamut_remap and program_gamut_remap for dcn20.
Alternate which registers are written to by switching modes each time.
Also fixes ICSC mode reg read to use proper data offset.

Signed-off-by: Noah Abradjian <noah.abradjian@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-16 14:13:30 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdgpu: add arcturus to gpu recovery check code path 2020-01-16 13:40:54 -05:00
amdkfd drm/amdkfd: Add a message when SW scheduler is used 2020-01-16 13:38:07 -05:00
display drm/amd/display: Double buffer dcn2 Gamut Remap 2020-01-16 14:13:30 -05:00
include drm/amd/include: Add OCSC registers 2020-01-16 13:41:06 -05:00
powerplay drm/amdgpu/sriov skip the update of SMU_TABLE_ACTIVITY_MONITOR_COEFF 2020-01-16 13:35:45 -05:00