mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Noah Abradjian e8027e0884 drm/amd/display: Add double buffering to dcn20 OCSC
[Why]
When rapidly adjusting colour properties (e.g. brightness), screen tearing was observed.
This was due to overwritten values in OCSC registers. In dcn10, this issue had been fixed by
implementing double buffering by alternating OCSC modes.

[How]
Alternate which OCSC registers are used by switching modes each time.
This double buffers the CSC writes.

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 13:51:31 -05:00
..
amdgpu_dm drm/amdgpu/display: set gpu vm flag for renoir 2020-01-14 10:18:10 -05:00
dc drm/amd/display: Add double buffering to dcn20 OCSC 2020-01-16 13:51:31 -05:00
dmub drm/amd/display: Soft reset DMUIF during DMUB reset 2020-01-16 13:51:24 -05:00
include drm/amd/display: add Pollock IDs, fix Pollock & Dali clk mgr construct 2020-01-14 10:18:10 -05:00
modules drm/amd/display: Fix 300Hz Freesync bug 2020-01-16 13:41:33 -05:00
Kconfig amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00