drm/amd/display: Check dc_sink every time in MST hotplug
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Wed, 9 May 2018 19:15:16 +0000 (14:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:13 +0000 (13:44 -0500)
commit70ee2def89e678940190b2c2f7d65fdef5647e07
tree41f6365c6f9dc0dc0ee9b4c5ced5195dee2a1577
parent6b622181230e7c9286f594e4e51266b6f019b031
drm/amd/display: Check dc_sink every time in MST hotplug

Extended fix to: "Don't read EDID in atomic_check"

Fix issue of missing dc_sink in .mode_valid in hot plug routine.

Need to check dc_sink everytime in .get_modes hook after checking
edid, since edid is not getting removed in hot unplug but dc_sink
doesn't.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c