diff options
author | Wenjing Liu <[email protected]> | 2023-01-30 18:21:29 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-14 16:01:16 -0500 |
commit | fbc0c790b1e274d2e1697df98e469cb982ada84e (patch) | |
tree | ccfd5d5730ac97b1b5c185842c566ac255c2ce5b /drivers/gpu/drm/amd/display/dc/link/link_detection.c | |
parent | 3a61570415690e9d5e7f10a288d25d49163f819d (diff) |
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 <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/link/link_detection.c')
0 files changed, 0 insertions, 0 deletions