linux-stable/drivers/gpu/drm/amd/display/dc/link/protocols
Wenjing Liu fbc0c790b1 drm/amd/display: do not set RX back to SST mode for non 0 mst stream count
[why]
a recent regression has caused us to mistakenly switch RX back to SST mode
when there are remaining mst stream enabled to the link. We are missing
a condition check for stream count before setting RX back to SST mode.

[how]
Add stream count check condition back and do some further refactor so the
logic is easier to understand to prevent future coding error in this sequence.

Reviewed-by: Samson Tam <Samson.Tam@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-02-14 16:01:16 -05:00
..
link_ddc.c
link_ddc.h
link_dp_capability.c
link_dp_capability.h
link_dp_dpia.c
link_dp_dpia.h
link_dp_dpia_bw.c
link_dp_dpia_bw.h
link_dp_irq_handler.c
link_dp_irq_handler.h
link_dp_phy.c drm/amd/display: do not set RX back to SST mode for non 0 mst stream count 2023-02-14 16:01:16 -05:00
link_dp_phy.h drm/amd/display: do not set RX back to SST mode for non 0 mst stream count 2023-02-14 16:01:16 -05:00
link_dp_training.c
link_dp_training.h
link_dp_training_8b_10b.c
link_dp_training_8b_10b.h
link_dp_training_128b_132b.c
link_dp_training_128b_132b.h
link_dp_training_auxless.c
link_dp_training_auxless.h
link_dp_training_dpia.c
link_dp_training_dpia.h
link_dp_training_fixed_vs_pe_retimer.c
link_dp_training_fixed_vs_pe_retimer.h
link_dpcd.c
link_dpcd.h
link_edp_panel_control.c
link_edp_panel_control.h
link_hpd.c
link_hpd.h