summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-10 13:09:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-11 23:55:29 +0100
commit36cf17423095882ec0f8f2c04d1bd0ee812149df (patch)
tree3ecb28846e2c19cf33d0846b8c5b24d96c933844 /lib/locking-selftest-wlock.h
parentdrm/i915/debugfs: Show all objects in the gtt (diff)
downloadlinux-36cf17423095882ec0f8f2c04d1bd0ee812149df.tar.xz
linux-36cf17423095882ec0f8f2c04d1bd0ee812149df.zip
drm/i915/execbuffer: Correctly clear the current object list upon EFAULT
Before releasing the lock in order to copy the relocation list from user pages, we need to drop all the object references as another thread may usurp and execute another batchbuffer before we reacquire the lock. However, the code was buggy and failed to clear the list... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: stable@kernel.org
Diffstat (limited to 'lib/locking-selftest-wlock.h')
0 files changed, 0 insertions, 0 deletions