linux/drivers/gpu/drm/amd/display/dc/dcn31
Yi-Ling Chen 8fa6f4c571 drm/amd/display: fixed the DSC power off sequence during Driver PnP
[WHY]
After unloading driver, driver would not disable DSC function.
At next loading driver, driver would power all DSC engines off.
When driver powered the active DSC off, the screen would be gray
until reprograming DSC relatived register correcntly.

[HOW]
1. Remove DSC Power down code into init_pipes()
2. Depend on  the OTG mapping information and DSC status to skip
power off for the working DSC.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Yi-Ling Chen <Yi-Ling.Chen2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-22 14:45:02 -05:00
..
dcn31_afmt.c drm/amd/display: Add VPG and AFMT low power support for DCN3.1 2021-09-14 15:57:11 -04:00
dcn31_afmt.h drm/amd/display: Add VPG and AFMT low power support for DCN3.1 2021-09-14 15:57:11 -04:00
dcn31_apg.c drm/amd/display: correct apg audio channel enable golden value 2021-10-19 17:18:11 -04:00
dcn31_apg.h drm/amd/display: Add DP 2.0 Audio Package Generator 2021-09-01 16:55:09 -04:00
dcn31_dccg.c drm/amd/display: Disable dpstreamclk, symclk32_se, and symclk32_le 2021-10-19 17:20:02 -04:00
dcn31_dccg.h drm/amd/display: Disable hdmistream and hdmichar clocks 2021-10-19 17:20:28 -04:00
dcn31_dio_link_encoder.c drm/amd/display: FEC configuration for dpia links in MST mode 2021-10-28 14:26:17 -04:00
dcn31_dio_link_encoder.h drm/amd/display: Fix detection of 4 lane for DPALT 2021-10-06 16:14:17 -04:00
dcn31_hpo_dp_link_encoder.c drm/amd/display: Add DP 2.0 HPO Link Encoder 2021-09-01 16:55:10 -04:00
dcn31_hpo_dp_link_encoder.h drm/amd/display: Add DP 2.0 HPO Link Encoder 2021-09-01 16:55:10 -04:00
dcn31_hpo_dp_stream_encoder.c drm/amd/display: set MSA vsp/hsp to 0 for positive polarity for DP 128b/132b 2021-11-22 14:45:01 -05:00
dcn31_hpo_dp_stream_encoder.h drm/amd/display: Add DP 2.0 HPO Stream Encoder 2021-09-01 16:55:10 -04:00
dcn31_hubbub.c drm/amd/display: refactor riommu invalidation wa 2021-07-28 16:37:17 -04:00
dcn31_hubbub.h drm/amd/display: remove compbuf size wait 2021-07-21 13:39:25 -04:00
dcn31_hubp.c drm/amd/display: Add DCN3.1 DCHHUB 2021-06-04 16:39:18 -04:00
dcn31_hubp.h drm/amd/display: Add DCN3.1 DCHHUB 2021-06-04 16:39:18 -04:00
dcn31_hwseq.c drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
dcn31_hwseq.h drm/amd/display: Added HPO HW control shutdown support 2021-11-03 12:32:34 -04:00
dcn31_init.c drm/amd/display: Added HPO HW control shutdown support 2021-11-03 12:32:34 -04:00
dcn31_init.h drm/amd/display: Add DCN3.1 HWSEQ 2021-06-04 16:39:19 -04:00
dcn31_optc.c drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
dcn31_optc.h drm/amd/display: Add DCN3.1 OPTC 2021-06-04 16:39:18 -04:00
dcn31_panel_cntl.c drm:dcn31: fix boolreturn.cocci warnings 2021-08-30 14:59:33 -04:00
dcn31_panel_cntl.h drm/amd/display: Add DCN3.1 PANEL 2021-06-04 16:39:18 -04:00
dcn31_resource.c drm/amd/display: Enable DSC over eDP 2021-11-22 14:45:01 -05:00
dcn31_resource.h drm/amd/display: restyle dcn31 resource header inline with other asics 2021-10-28 14:26:15 -04:00
dcn31_vpg.c drm/amd/display: Add VPG and AFMT low power support for DCN3.1 2021-09-14 15:57:11 -04:00
dcn31_vpg.h drm/amd/display: Add VPG and AFMT low power support for DCN3.1 2021-09-14 15:57:11 -04:00
Makefile drm/amd/display: Add VPG and AFMT low power support for DCN3.1 2021-09-14 15:57:11 -04:00