linux/drivers/gpu/drm/amd/display/dc/inc
Alvin Lee 81b437f57e drm/amd/display: Disconnect pipe separetely when disable pipe split
[Why]
When changing pixel formats for HDR (e.g. ARGB -> FP16)
there are configurations that change from 2 pipes to 1 pipe.
In these cases, it seems that disconnecting MPCC and doing
a surface update at the same time(after unlocking) causes
some registers to be updated slightly faster than others
after unlocking (e.g. if the pixel format is updated to FP16
before the new surface address is programmed, we get
corruption on the screen because the pixel formats aren't
matching). We separate disconnecting MPCC from the rest
of  the  pipe programming sequence to prevent this.

[How]
Move MPCC disconnect into separate operation than the
rest of the pipe programming.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-10 17:26:52 -04:00
..
hw drm/amd/display: Fix logger context 2020-08-04 17:29:27 -04:00
bw_fixed.h
clock_source.h
compressor.h
core_status.h drm/amd/display: Add helper to convert DC status 2020-07-01 01:59:20 -04:00
core_types.h drm/amd/display: Make new dc interface for adding dsc resource 2020-07-21 15:37:39 -04:00
custom_float.h
dc_link_ddc.h drm/amd/display: DP link layer test 4.2.1.1 fix due to specs update 2020-07-01 01:59:26 -04:00
dc_link_dp.h drm/amd/display: DP link layer test 4.2.1.1 fix due to specs update 2020-07-01 01:59:26 -04:00
dce_calcs.h
dcn_calc_math.h drm/amd/display: fixup DML dependencies 2020-01-16 14:16:48 -05:00
dcn_calcs.h
hw_sequencer.h drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
hw_sequencer_private.h drm/amd/display: move panel power seq to new panel struct 2020-04-22 18:11:48 -04:00
link_hwss.h
reg_helper.h drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
resource.h drm/amd/display: Add DCN3 Resource 2020-07-01 01:59:15 -04:00
vm_helper.h