]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: clear remote dc_sink when stop mst
authorWayne Lin <Wayne.Lin@amd.com>
Thu, 10 Feb 2022 10:38:26 +0000 (18:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:22:03 +0000 (14:22 -0500)
commitaf7fcc80f30cf49b29b43916fe7044295160c768
treeb0362b6d535885d431d3fd3f2c4eeb2fdfd68acb
parentff9757755a1cd9cefd92f16827c96c0e11c566fc
drm/amd/display: clear remote dc_sink when stop mst

[Why]
Currently, we don't have code path to release remote dc_sink when unplug
MST hub from the system. After few times hotplug, we hit the limition of
maximum number of remote dc_sink and can't light up new connected monitor
anymore.

[How]
Releasing all remote dc_sink at dm_helpers_dp_mst_stop_top_mgr() was
removed by previous patch. Restore it.

Reviewed-by: Jerry Zuo <Jerry.Zuo@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c