aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 11:28:48 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-17 11:28:48 +0200
commitdb5c671e86c3db8c99ce5a4954632248e6f849aa (patch)
tree02f15f8b557db2f20bf5773fe4403d8e62b24d46 /linux-core/drm_ttm.c
parent5881ce1b91034fbdf81dda37a23215cfc1310cdf (diff)
Remove the memory manager parameter from the put_block function, as this
makes the client code a lot cleaner. Prepare buffer manager for lock and unlock calls.
Diffstat (limited to 'linux-core/drm_ttm.c')
-rw-r--r--linux-core/drm_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index f1fe1c89..0f9cb11f 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -393,7 +393,7 @@ static void drm_ttm_object_remove(drm_device_t * dev, drm_ttm_object_t * object)
drm_ht_remove_item(&dev->map_hash, &list->hash);
if (list->file_offset_node) {
- drm_mm_put_block(&dev->offset_manager, list->file_offset_node);
+ drm_mm_put_block(list->file_offset_node);
list->file_offset_node = NULL;
}