Searched refs:ttm_mem_global (Results 1 – 17 of 17) sorted by relevance
/linux-2.6.39/include/drm/ttm/ |
D | ttm_memory.h | 77 struct ttm_mem_global { struct 117 static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob, in ttm_mem_register_shrink() 138 static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob, in ttm_mem_unregister_shrink() 147 extern int ttm_mem_global_init(struct ttm_mem_global *glob); 148 extern void ttm_mem_global_release(struct ttm_mem_global *glob); 149 extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, 151 extern void ttm_mem_global_free(struct ttm_mem_global *glob, 153 extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, 156 extern void ttm_mem_global_free_page(struct ttm_mem_global *glob,
|
D | ttm_page_alloc.h | 64 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
|
D | ttm_object.h | 256 (struct ttm_mem_global *mem_glob, unsigned int hash_order);
|
D | ttm_bo_driver.h | 470 struct ttm_mem_global *mem_glob; 497 struct ttm_mem_global *mem_glob;
|
/linux-2.6.39/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 42 struct ttm_mem_global *glob; 108 static void ttm_check_swapping(struct ttm_mem_global *glob); 170 struct ttm_mem_global *glob = in ttm_mem_global_kobj_release() 171 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_kobj_release() 180 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() 212 static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, in ttm_shrink() 238 struct ttm_mem_global *glob = in ttm_shrink_work() 239 container_of(work, struct ttm_mem_global, work); in ttm_shrink_work() 244 static int ttm_mem_init_kernel_zone(struct ttm_mem_global *glob, in ttm_mem_init_kernel_zone() 276 static int ttm_mem_init_highmem_zone(struct ttm_mem_global *glob, in ttm_mem_init_highmem_zone() [all …]
|
D | ttm_object.c | 84 struct ttm_mem_global *mem_glob; 252 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() 316 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() 417 struct ttm_object_device *ttm_object_device_init(struct ttm_mem_global in ttm_object_device_init()
|
D | ttm_tt.c | 105 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in __ttm_tt_get_page() 349 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_tt_set_user()
|
D | ttm_page_alloc.c | 786 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init()
|
D | ttm_bo.c | 1267 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_create()
|
/linux-2.6.39/drivers/staging/gma500/ |
D | psb_ttm_fence_driver.h | 108 struct ttm_mem_global *mem_glob; 212 struct ttm_mem_global *mem_glob,
|
D | psb_ttm_placement_user.c | 180 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_create_private() 276 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_pl_create_ioctl() 350 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_pl_ub_create_ioctl()
|
D | psb_ttm_glue.c | 291 global_ref->size = sizeof(struct ttm_mem_global); in psb_ttm_global_init()
|
D | psb_ttm_fence.c | 509 struct ttm_mem_global *mem_glob, in ttm_fence_device_init()
|
/linux-2.6.39/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 65 global_ref->size = sizeof(struct ttm_mem_global); in vmw_ttm_global_init()
|
D | vmwgfx_resource.c | 784 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in vmw_dmabuf_init()
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 64 global_ref->size = sizeof(struct ttm_mem_global); in nouveau_ttm_global_init()
|
/linux-2.6.39/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 80 global_ref->size = sizeof(struct ttm_mem_global); in radeon_ttm_global_init()
|