diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-06-07 22:53:28 +1000 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-08-12 10:42:20 +1000 |
commit | 6446bbc15522b68f20e90a9043e6c8084af6baa4 (patch) | |
tree | 95022d9a945db5e48a2e34fdd0ab1369bffd4afb /sys/dev/pci/drm/ttm | |
parent | 218f55c8c3e24cfb204a3fbf51d8c2e4fece582e (diff) |
enable the rest of ttm_bo_global_kobj_release
Diffstat (limited to 'sys/dev/pci/drm/ttm')
-rw-r--r-- | sys/dev/pci/drm/ttm/ttm_bo.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/ttm/ttm_bo.c b/sys/dev/pci/drm/ttm/ttm_bo.c index af99b89f58e..de7f4023b6a 100644 --- a/sys/dev/pci/drm/ttm/ttm_bo.c +++ b/sys/dev/pci/drm/ttm/ttm_bo.c @@ -1524,10 +1524,8 @@ ttm_bo_global_kobj_release(struct ttm_bo_global *glob) { ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); -#ifdef notyet - __free_page(glob->dummy_read_page); - free(glob, M_DRM); -#endif + km_free(glob->dummy_read_page, PAGE_SIZE, &kv_any, &kp_dma_zero); + drm_free(glob); } void |