]> bbs.cooldavid.org Git - net-next-2.6.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)
commite39a01501b228e1be2037d5bddccae2a820af902
tree8505cc7a009cad8151f0edb3b5696f6249afd154
parentd270ae34eb77c58dea60e5b1e300a698d2ce39ac
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