linux/drivers/gpu/drm/amd/display/dc/dcn31
Meenakshikumar Somasundaram 5f0c749158 drm/amd/display: Fix for otg synchronization logic
[Why]
During otg sync trigger, plane states are used to decide whether the otg
is already synchronized or not. There are scenarions when otgs are
disabled without plane state getting disabled and in such case the otg is
excluded from synchronization.

[How]
Introduced pipe_idx_syncd in pipe_ctx that tracks each otgs master pipe.
When a otg is disabled/enabled, pipe_idx_syncd is reset to itself.
On sync trigger, pipe_idx_syncd is checked to decide whether a otg is
already synchronized and the otg is further included or excluded from
synchronization.

v2:
  Don't drop is_blanked logic

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Mustapha Ghaddar <mustapha.ghaddar@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: meenakshikumar somasundaram <meenakshikumar.somasundaram@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Cc: torvalds@linux-foundation.org
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-01-25 17:05:35 -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: fix function scopes 2021-12-13 16:34:26 -05: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: Add version check before using DP alt query interface 2022-01-07 17:22:01 -05: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: support dynamic HPO DP link encoder allocation 2021-12-30 08:54:45 -05:00
dcn31_hpo_dp_link_encoder.h drm/amd/display: support dynamic HPO DP link encoder allocation 2021-12-30 08:54:45 -05: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 DSC would not PG after removing DSC stream 2021-11-24 14:06:52 -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: Set optimize_pwr_state for DCN31 2021-12-30 08:54:44 -05: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/amd/display: fix function scopes 2021-12-13 16:34:26 -05: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: Fix for otg synchronization logic 2022-01-25 17:05:35 -05:00
dcn31_resource.h drm/amd/display: fix B0 TMDS deepcolor no dislay issue 2021-12-30 08:54:44 -05: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