summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-15 00:02:42 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-21 19:12:24 +0900
commit9c6b5ed8e6b674b076c9d500e81ce6e45a88da56 (patch)
tree59534d8fc92736b191c460b106759371bf34cd85 /mm
parent40c3e8bfa246528c23e700c946e1f3e74c15dc27 (diff)
downloadlinux-3.10-9c6b5ed8e6b674b076c9d500e81ce6e45a88da56.tar.gz
linux-3.10-9c6b5ed8e6b674b076c9d500e81ce6e45a88da56.tar.bz2
linux-3.10-9c6b5ed8e6b674b076c9d500e81ce6e45a88da56.zip
drm/prime: shrink critical section protected by prime lock
When exporting a gem object as a dma-buf the critical section for the per-fd prime lock is just the adding (and in case of errors, removing) of the handle to the per-fd lookup cache. So restrict the critical section to just that part of the function. This simplifies later reordering. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions