commit | 36cf17423095882ec0f8f2c04d1bd0ee812149df | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Jan 10 12:09:12 2011 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jan 11 22:55:29 2011 +0000 |
tree | 3ecb28846e2c19cf33d0846b8c5b24d96c933844 | |
parent | 08c18323547ce6d70eab3b37eca894baf114ad85 [diff] |
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