]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ringbuffer: Set ring->gem_buffer = NULL on init unwind
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Aug 2010 10:01:34 +0000 (11:01 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:35 +0000 (11:24 -0700)
commit0c5157130bf5e3d46b4cf674f92cdb5d198195c6
tree45b4b4e1b360e49afe53f171109453b89ee92649
parent598bc392c7313180ee90b792126d8a6a5ce0882c
drm/i915/ringbuffer: Set ring->gem_buffer = NULL on init unwind

The cleanup path for early abort failed to nullify the gem_buffer. The
likely consequence of this is zero, since a failure here should mean
aborting the module load.

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