summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:20:05 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:20:05 -0700
commitc71c44bb9288e0bf1b319ec19a2e25f4467d9583 (patch)
treecdb4fc7d4a107082cd6d039706991c4118af840d /shared-core
parent4f0841a31cbed315a3e891557eadc55cab0dfd23 (diff)
parentd20aaf485893ed11dd0d68daf63ccadd77b02213 (diff)
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_init.c b/shared-core/i915_init.c
index 3e44dd54..0c9ef4d4 100644
--- a/shared-core/i915_init.c
+++ b/shared-core/i915_init.c
@@ -265,6 +265,7 @@ int i915_driver_unload(drm_device_t *dev)
drm_mem_reg_iounmap(dev, &dev_priv->ring_buffer->mem,
dev_priv->ring.virtual_start);
+ DRM_DEBUG("usage is %d\n", dev_priv->ring_buffer->usage);
mutex_lock(&dev->struct_mutex);
drm_bo_usage_deref_locked(dev_priv->ring_buffer);
mutex_unlock(&dev->struct_mutex);