drm/i915/execbuffer: On error, starting unwinding from the previous object
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 28 Nov 2010 15:31:02 +0000 (15:31 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 28 Nov 2010 15:31:02 +0000 (15:31 +0000)
commit602606a472963a67b234e6b5c99293de4aa9d06b
tree6af83a1782ea0c9ff3b83fe15902c9cf0c96e8c6
parent432e58edc9de1d9c3d6a7b444b3c455b8f209a7d
drm/i915/execbuffer: On error, starting unwinding from the previous object

As the error occurred on the current object, it means that its state was
not changed and so it should be excluded from the unwind.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_execbuffer.c