diff options
author | David Airlie <airlied@asimov.stargames.com.au> | 2007-04-13 16:43:55 +1000 |
---|---|---|
committer | Dave Airlie <airlied@airlied2.(none)> | 2007-04-18 10:39:27 +1000 |
commit | 7c9e19ba55dcdf212845253648194115639fe7b6 (patch) | |
tree | bca096bc3989c7192fc827122aa136c707d16acd /shared-core | |
parent | 73b031df613b58c4462a65818b88200bed0a97de (diff) |
clean up ring buffer and TTM in i915_driver_unload
I've commented out the framebuffer for now
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_init.c | 1 |
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); |