]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix refleak during eviction.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 29 Sep 2010 21:23:05 +0000 (22:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Oct 2010 09:03:16 +0000 (10:03 +0100)
commit512ea6328a9aeeeacb5347f8f332cecf08a8f766
tree8505cc7a009cad8151f0edb3b5696f6249afd154
parentd30310e3a63fd2e06a966b85398cad5d84e3a635
drm/i915: Fix refleak during eviction.

Now that we hold onto a reference whilst evicting objects, we need to
be sure that we drop all the references taken -- even on the error
paths.

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