drm/i915: Cleanup after failed initialization of ringbuffers
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 May 2010 12:18:22 +0000 (13:18 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 28 May 2010 18:01:02 +0000 (11:01 -0700)
commit68f95ba9e260516411411524c45263b5d53f393c
treeb850c0eb9971f1b7e9daf0e467db832cb02a2be2
parent654fc6073f68efa3b6c466825749e73e7fbb92cd
drm/i915: Cleanup after failed initialization of ringbuffers

The callers expect us to cleanup any partially initialised structures
before reporting the error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c