]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit706b89d8747f8435f832417fdb1ed0279276fad3
tree2cf0677c730f83f63b14722e887ed2ff2d43b86d
parent4d2a61a43ddf5e84bcc756c26ff6a5b9126cf9eb
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