Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a32808c0 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: BUG_ON page refleak during unbind

parent 9a1e2582
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);