[PATCH 08/15] drm/mode: reduce lock hold in addfb2

2016-04-21 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 03:10:39PM +1000, Dave Airlie wrote: > From: Dave Airlie > > No need to hold the lock while assigning the variable. > > Signed-off-by: Dave Airlie Not sure why exactly I put that under the lock, but the only thing that can race here is rmfb while addfb2 is still doing i

[PATCH 08/15] drm/mode: reduce lock hold in addfb2

2016-04-15 Thread Dave Airlie
From: Dave Airlie No need to hold the lock while assigning the variable. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 1863879..21cb998 100644 ---