]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp/mst: Restore primary hub guid on resume
authorLyude <cpaul@redhat.com>
Wed, 13 Apr 2016 20:50:18 +0000 (16:50 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Apr 2016 13:01:16 +0000 (15:01 +0200)
commit60b075be823dc0e4c6c1ea06de48228393225b7f
tree976cf170b3cb8caa811091eea63e208b54fa0045
parent2d899a37ac972284f1f84f2fb9c5ba783d94e192
drm/dp/mst: Restore primary hub guid on resume

Some hubs are forgetful, and end up forgetting whatever GUID we set
previously after we do a suspend/resume cycle. This can lead to
hotplugging breaking (along with probably other things) since the hub
will start sending connection notifications with the wrong GUID. As
such, we need to check on resume whether or not the GUID the hub is
giving us is valid.

Signed-off-by: Lyude <cpaul@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1460580618-7421-1-git-send-email-cpaul@redhat.com
drivers/gpu/drm/drm_dp_mst_topology.c