linux/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: support dynamic HPO DP link encoder allocation 2021-12-30 08:54:45 -05:00
bw_fixed.h
clock_source.h drm/amd/display: Synchronize displays with different timings 2021-02-22 18:05:48 -05:00
compressor.h
core_status.h drm/amd/display: support dynamic HPO DP link encoder allocation 2021-12-30 08:54:45 -05:00
core_types.h drm/amd/display: Fix for otg synchronization logic 2022-01-25 17:05:35 -05:00
custom_float.h
dc_link_ddc.h drm/amd/display: USB4 DPIA enumeration and AUX Tunneling 2021-10-06 15:50:56 -04:00
dc_link_dp.h drm/amd/display: define link res and make it accessible to all link interfaces 2021-12-30 08:54:44 -05:00
dc_link_dpia.h drm/amd/display: define link res and make it accessible to all link interfaces 2021-12-30 08:54:44 -05:00
dce_calcs.h
dcn_calc_math.h
dcn_calcs.h drm/amd/display: Rename dcn_validate_bandwidth to dcn10_validate_bandwidth 2021-11-24 14:06:52 -05:00
dml_wrapper.h drm/amd/display: Code change for DML isolation 2021-11-22 14:45:01 -05:00
hw_sequencer_private.h drm/amd/display: Added HPO HW control shutdown support 2021-11-03 12:32:34 -04:00
hw_sequencer.h drm/amd/display: implement dc_mode_memclk 2021-12-14 16:08:41 -05:00
link_dpcd.h drm/amd/display: Add copyright notice to new files 2021-07-23 10:07:57 -04:00
link_enc_cfg.h drm/amd/display: Initialise encoder assignment when initialising dc_state 2021-11-17 16:58:10 -05:00
link_hwss.h drm/amd/display: define link res and make it accessible to all link interfaces 2021-12-30 08:54:44 -05:00
reg_helper.h
resource.h drm/amd/display: Fix for otg synchronization logic 2022-01-25 17:05:35 -05:00
vm_helper.h