aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_drv.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-02 14:03:15 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-02 14:03:15 +0200
commita31046b8734f12ed22127ef5f6ca4fc33df72ec1 (patch)
tree53e452177b9f263fe1c5d52e4522e5448348926b /linux-core/drm_drv.c
parentd85b99435f0ea7a17b3b7be31b53c00632c07177 (diff)
Add a buffer object manager for TTM maps.
Diffstat (limited to 'linux-core/drm_drv.c')
-rw-r--r--linux-core/drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 37539f34..ae0c37a5 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -377,6 +377,7 @@ static void drm_cleanup(drm_device_t * dev)
drm_free(dev->maplist, sizeof(*dev->maplist), DRM_MEM_MAPS);
dev->maplist = NULL;
drm_ht_remove(&dev->map_hash);
+ drm_mm_takedown(&dev->offset_manager);
drm_ht_remove(&dev->object_hash);
}