]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp/mst: take lock around looking up the branch device on hpd irq
authorDave Airlie <airlied@redhat.com>
Mon, 22 Jun 2015 04:40:44 +0000 (14:40 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Jun 2015 00:32:12 +0000 (10:32 +1000)
commit2020452e4dd5f935c257afe480a7c5a99916b32d
treeabe327d3a99e89347d22bcc5c61958fd915f70f2
parentc6791ce5c55de85405f67872a4f9d0c1dbd71772
drm/dp/mst: take lock around looking up the branch device on hpd irq

If we are doing an MST transaction and we've gotten HPD and we
lookup the device from the incoming msg, we should take the mgr
lock around it, so that mst_primary and mstb->ports are valid.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c