drm/amd/display: Clear MST topology if it fails to resume
authorRoman Li <roman.li@amd.com>
Thu, 1 Dec 2022 14:49:23 +0000 (09:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Dec 2022 17:18:18 +0000 (12:18 -0500)
commit3f6752b4de41896c7f1609b1585db2080e8150d8
tree59b777613a2affe715220b5722bc55a47cd128e7
parente85d59885409736ad21cafd27eb73d6f7630cefb
drm/amd/display: Clear MST topology if it fails to resume

[Why]
In case of failure to resume MST topology after suspend, an emtpty
mst tree prevents further mst hub detection on the same connector.
That causes the issue with MST hub hotplug after it's been unplug in
suspend.

[How]
Stop topology manager on the connector after detecting DM_MST failure.

Reviewed-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c