Home
last modified time | relevance | path

Searched refs:ttm_mem_global (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/include/drm/ttm/
Dttm_memory.h77 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,
Dttm_page_alloc.h64 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
Dttm_object.h256 (struct ttm_mem_global *mem_glob, unsigned int hash_order);
Dttm_bo_driver.h470 struct ttm_mem_global *mem_glob;
497 struct ttm_mem_global *mem_glob;
/linux-2.6.39/drivers/gpu/drm/ttm/
Dttm_memory.c42 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 …]
Dttm_object.c84 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()
Dttm_tt.c105 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()
Dttm_page_alloc.c786 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init()
Dttm_bo.c1267 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_create()
/linux-2.6.39/drivers/staging/gma500/
Dpsb_ttm_fence_driver.h108 struct ttm_mem_global *mem_glob;
212 struct ttm_mem_global *mem_glob,
Dpsb_ttm_placement_user.c180 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()
Dpsb_ttm_glue.c291 global_ref->size = sizeof(struct ttm_mem_global); in psb_ttm_global_init()
Dpsb_ttm_fence.c509 struct ttm_mem_global *mem_glob, in ttm_fence_device_init()
/linux-2.6.39/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c65 global_ref->size = sizeof(struct ttm_mem_global); in vmw_ttm_global_init()
Dvmwgfx_resource.c784 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in vmw_dmabuf_init()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c64 global_ref->size = sizeof(struct ttm_mem_global); in nouveau_ttm_global_init()
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_ttm.c80 global_ref->size = sizeof(struct ttm_mem_global); in radeon_ttm_global_init()