mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/i915: BUG_ON page refleak during unbind
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9a1e2582d8
commit
a32808c0a1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue