projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1e258
)
drm/i915: BUG_ON page refleak during unbind
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 20 Sep 2009 20:29:47 +0000
(21:29 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:10:21 +0000
(
01:10
+0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 874cce62f51ac42002b1cd08144e0f5654c15d88..93b4232ee280b5896035933533d0fec6ffc7ee07 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-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);