drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Jun 2016 07:46:12 +0000 (08:46 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Jun 2016 08:07:28 +0000 (10:07 +0200)
commitfa7d81bb3c269a2ee38b6e4d569d9eb8be1a78ad
treea3c19e2d7dd2fe3b9c5f588b6adc5feaf9e38c1c
parent366e292df678caed1fb3644989e6b5ae2333808c
drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference

We are only documenting that the read is outside of the lock, and do not
require strict ordering on the operation. In this case the more relaxed
lockless_dereference() will suffice.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466581572-16608-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_fb_helper.c