summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_drv.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-15 15:10:41 +1000
committerDave Airlie <airlied@redhat.com>2016-04-22 10:43:24 +1000
commit2ddea3fd94889331855ff311ff540e0b182dd216 (patch)
tree77ac4c98098f1d0f765124b438627c8e2ae34503 /drivers/gpu/drm/vc4/vc4_drv.c
parent72fe90b8e72e3f759164d2b4b5c60617a8a1a93e (diff)
downloadtalos-op-linux-2ddea3fd94889331855ff311ff540e0b182dd216.tar.gz
talos-op-linux-2ddea3fd94889331855ff311ff540e0b182dd216.zip
drm/modes: reduce fb_lock to just protecting lists
This reduces the fb_lock to just protecting the num_fb/fb_list. "Previously fb refcounting, and especially the weak reference (kref_get_unless_zero) used in fb lookups have been protected by fb_lock. But with the refactoring to share refcounting in the drm_mode_object base class that switched to being protected by idr_mutex, which means fb_lock critical sections can be reduced." Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud