]> 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)
commit79ba39be5cf62e1693b0e07727f827a25109839e
treeabe327d3a99e89347d22bcc5c61958fd915f70f2
parent756312e45a3c6821ad2193a93c251ed79a1bce5a
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