Skip to content

Commit

Permalink
drm/i915: BUG_ON page refleak during unbind
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Chris Wilson committed Sep 23, 2009
1 parent 9a1e258 commit a32808c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2004,6 +2004,7 @@ i915_gem_object_unbind(struct drm_gem_object *obj)
}

i915_gem_object_put_pages(obj);
BUG_ON(obj_priv->pages_refcount);

if (obj_priv->gtt_space) {
atomic_dec(&dev->gtt_count);
Expand Down

0 comments on commit a32808c

Please sign in to comment.