[PATCH] drm/dp/mst: make sure mst_primary mstb is valid in work function

2015-06-22 Thread Dave Airlie
From: Daniel Vetter This validates the mst_primary under the lock, and then calls into the check and send function. This makes the code a lot easier to understand the locking rules in. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_dp_mst_topology.c | 24 +++- 1 file ch

[PATCH] drm/dp/mst: make sure mst_primary mstb is valid in work function

2015-06-22 Thread Daniel Vetter
On Mon, Jun 22, 2015 at 05:31:59PM +1000, Dave Airlie wrote: > From: Daniel Vetter > > This validates the mst_primary under the lock, and then calls > into the check and send function. This makes the code a lot > easier to understand the locking rules in. > > Signed-off-by: Dave Airlie Signed-