[PATCH 2/2] drm/dp/mst: take lock around looking up the branch device on hpd irq

2015-10-16 Thread Jani Nikula
On Mon, 22 Jun 2015, Daniel Vetter wrote: > On Mon, Jun 22, 2015 at 02:40:44PM +1000, Dave Airlie wrote: >> From: Dave Airlie >> >> 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_pri

[PATCH 2/2] drm/dp/mst: take lock around looking up the branch device on hpd irq

2015-06-22 Thread Dave Airlie
From: Dave Airlie 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. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_dp_mst_topology.c | 3 +++ 1 file c

[PATCH 2/2] drm/dp/mst: take lock around looking up the branch device on hpd irq

2015-06-22 Thread Daniel Vetter
On Mon, Jun 22, 2015 at 02:40:44PM +1000, Dave Airlie wrote: > From: Dave Airlie > > 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. > > Signed-off-by