linux/drivers/gpu/drm/amd/display/dc/inc
Jimmy Kizito d5ce4313cc drm/amd/display: Do not skip link training on DP quick hot plug
[Why]
When rapidly plugging and unplugging a DP sink, detection link
training can be mistakenly skipped.

This is due to the hotplug processing occurring before the
encoder assignment logic has had a chance to process the removal
of a stream. The encoder that would be used for detection link
training is then erroneously reported as already in use and
detection link training is skipped.

[How]
During hot plug processing, only determine a link encoder to be
unavailable for a particular link if it has been assigned to a
different link.

Reviewed-by: Meenakshikumar Somasundaram <Meenakshikumar.Somasundaram@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-10-19 17:17:39 -04:00
..
hw drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04: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: fail instead of div by zero/bugcheck 2020-11-02 15:30:47 -05:00
core_types.h drm/amd/display: USB4 DPIA enumeration and AUX Tunneling 2021-10-06 15:50:56 -04: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: add function to convert hw to dpcd lane settings 2021-09-28 09:30:10 -04:00
dc_link_dpia.h drm/amd/display: Add debug flags for USB4 DP link training. 2021-10-06 15:52:43 -04:00
dce_calcs.h
dcn_calc_math.h
dcn_calcs.h
hw_sequencer_private.h drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
hw_sequencer.h drm/amd/display: Add periodic detection when zstate is enabled 2021-09-14 15:57:10 -04: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: Do not skip link training on DP quick hot plug 2021-10-19 17:17:39 -04:00
link_hwss.h drm/amd/display: Add DPCD writes at key points 2021-09-14 15:57:09 -04:00
reg_helper.h
resource.h drm/amd/display: Update link encoder object creation. 2021-10-06 15:50:50 -04:00
vm_helper.h