mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: cleanup of function pointer tables 2019-11-19 10:12:53 -05:00
bios drm/amd/display: populate bios integrated info for renoir 2019-12-05 18:16:19 -05:00
calcs drm/amd/display: add Pollock IDs, fix Pollock & Dali clk mgr construct 2020-01-14 10:18:10 -05:00
clk_mgr drm/amd/display: Update HDMI hang w/a to apply to all TMDS signals 2020-01-16 14:11:39 -05:00
core drm/amd/display: Driverside changes to support PSR in DMCUB 2020-01-16 14:13:23 -05:00
dce drm/amd/display: Driverside changes to support PSR in DMCUB 2020-01-16 14:13:23 -05:00
dce80 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce100 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce110 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce112 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce120 drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dcn10 drm/amd/display: Fix double buffering in dcn2 ICSC 2020-01-16 14:13:16 -05:00
dcn20 drm/amd/display: Double buffer dcn2 Gamut Remap 2020-01-16 14:13:30 -05:00
dcn21 drm/amd/display: Driverside changes to support PSR in DMCUB 2020-01-16 14:13:23 -05:00
dml drm/amd/display: expand dml structs 2020-01-16 14:13:02 -05:00
dsc drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
gpio drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
hdcp
inc drm/amd/display: Driverside changes to support PSR in DMCUB 2020-01-16 14:13:23 -05:00
irq drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
virtual drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: Spin for DMCUB PHY init in DC 2019-11-19 10:12:53 -05:00
dc_dmub_srv.h
dc_dp_types.h drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Split DMUB cmd type into type/subtype 2019-12-05 16:30:35 -05:00
dc_hw_types.h drm/amd/display: Drop AMD_EDID_UTILITY defines 2019-12-02 17:38:21 -05:00
dc_link.h drm/amd/display: Specified VR patch skip to reset segment to 0 2019-12-18 16:09:09 -05:00
dc_stream.h drm/amd/display: Add warmup escape call support 2019-12-18 16:09:09 -05:00
dc_types.h drm/amd/display: Disable secondary link for certain monitors 2020-01-16 13:41:50 -05:00
dc.h drm/amd/display: 3.2.66 2020-01-16 14:13:10 -05:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
irq_types.h
Makefile drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
os_types.h amdgpu: Enable initial DCN support on POWER 2019-12-18 16:09:05 -05:00