From: Chris Wilson Date: Mon, 10 Jan 2011 12:09:12 +0000 (+0000) Subject: drm/i915/execbuffer: Correctly clear the current object list upon EFAULT X-Git-Tag: v2.6.38-rc1~398^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36cf17423095882ec0f8f2c04d1bd0ee812149df;p=pandora-kernel.git 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 Cc: stable@kernel.org --- Reading git-diff-tree failed