drm: tweak getconnector locking
authorRob Clark <[email protected]>
Thu, 18 Dec 2014 21:01:48 +0000 (16:01 -0500)
committerDaniel Vetter <[email protected]>
Thu, 18 Dec 2014 21:22:53 +0000 (22:22 +0100)
commitccfc08655d5fd5076828f45fb09194c070f2f63a
tree4c0517f82389396a148013197afe624218c65f68
parentac9c925616028f1f03f631f229bca49b3a92ce9a
drm: tweak getconnector locking

We need to hold connection_mutex as we read the properties.  Easiest
thing is just widen the scope where connection_mutex is held.

Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/drm_crtc.c