drm/i915/evict: Ensure we completely cleanup on failure
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 10 Jan 2011 14:21:05 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 22:55:39 +0000 (22:55 +0000)
commit092de6f225638ec300936bfcbdc67805733cc78c
tree8abd0bf021c0dee7c4a55ee46ed58a65b68f8b0b
parent36cf17423095882ec0f8f2c04d1bd0ee812149df
drm/i915/evict: Ensure we completely cleanup on failure

... and not leave the objects in a inconsistent state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/i915_gem_evict.c