]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unref old_obj on get_fence_reg() error path
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Sep 2009 11:02:39 +0000 (12:02 +0100)
committerEric Anholt <eric@anholt.net>
Wed, 2 Sep 2009 17:49:02 +0000 (10:49 -0700)
commit286435ce1248eb681224bea4db4005cb3009fe07
tree7c7b029f4af50f1cd61531bc46ed62cfe464857d
parente6c1b1d7b0c565e0b1d2aebdc6715fa0f0f143f7
drm/i915: Unref old_obj on get_fence_reg() error path

Remember to release the local reference if we fail to wait on
the rendering.

(Also whilst in the vicinity add some whitespace so that the phasing of
the operations is clearer.)

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