mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
bios drm/amd/display: Display goes blank after inst 2020-08-04 17:29:28 -04:00
calcs drm/amd/display: Fix DML failures caused by doubled stereo viewport 2020-07-01 01:59:25 -04:00
clk_mgr drm/amd/display: dchubbub p-state warning during surface planes switch 2020-07-30 14:13:27 -04:00
core drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
dce drm/amd/display: Fix incorrect backlight register offset for DCN 2020-08-10 17:26:52 -04:00
dce60 drm/amd/display: dc/dce60: use DCE6 headers (v6) 2020-07-27 16:46:45 -04:00
dce80 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce100 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce110 drm/amd/display: interface to obtain minimum plane size caps 2020-07-21 15:37:39 -04:00
dce112 drm/amd/display: remove redundant initialization of variable result 2020-07-27 16:21:11 -04:00
dce120 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dcn10 drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
dcn20 drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
dcn21 drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
dcn30 drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
dml drm/amd/display: populate new dml variable 2020-08-04 17:29:27 -04:00
dsc drm/amd/display: rename dsc extended caps as dsc branch decoder caps 2020-07-21 15:37:39 -04:00
gpio drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Disconnect pipe separetely when disable pipe split 2020-08-10 17:26:52 -04:00
irq drm/amd/display: dc/irq: add support for DCE6 (v4) 2020-07-27 16:46:02 -04:00
virtual drm/amd/display: Update virtual stream encoder 2020-08-04 17:29:27 -04:00
dc_bios_types.h drm/amd/display: Read VBIOS Golden Settings Tbl 2020-08-04 17:29:27 -04:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c Revert "drm/amd/display: add mechanism to skip DCN init" 2020-07-10 17:41:25 -04:00
dc_dmub_srv.h Revert "drm/amd/display: add mechanism to skip DCN init" 2020-07-10 17:41:25 -04:00
dc_dp_types.h drm/amd/display: rename dsc extended caps as dsc branch decoder caps 2020-07-21 15:37:39 -04: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: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
dc_hw_types.h drm/amd/display: Implement AMD VSIF V3 2020-07-21 15:37:39 -04:00
dc_link.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_stream.h drm/amd/display: Add debugfs for forcing stream timing sync 2020-08-04 17:29:28 -04:00
dc_types.h drm/amd/display: Read VBIOS Golden Settings Tbl 2020-08-04 17:29:27 -04:00
dc.h drm/amd/display: 3.2.97 2020-08-04 17:29:28 -04:00
dm_cp_psp.h drm/amd/display: enable assr 2020-07-01 01:59:25 -04:00
dm_event_log.h
dm_helpers.h drm/amd/display: Add DCN3 Support in DM (v2) 2020-07-01 01:59:15 -04: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: Handle persistence in DM 2020-05-28 14:00:47 -04:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
os_types.h drm/amd/display: Only actually breakpoint if DEBUG_KERNEL_DC is enabled 2020-07-01 01:59:16 -04:00