drm/amd/display: Check dc_sink every time in MST hotplug
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Tue, 17 Apr 2018 18:39:09 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Apr 2018 15:08:09 +0000 (10:08 -0500)
commit7ad35721e7d5a5b56a4eddcdd9920c3c1e51ae4c
tree2cf0677c730f83f63b14722e887ed2ff2d43b86d
parentd973f8535f033fac1599bd5eae6835e6bb304da3
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c