Searched refs:ttm_mem_global (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/vmwgfx/ |
| D | ttm_memory.h | 67 extern struct ttm_mem_global { struct 83 int ttm_mem_global_init(struct ttm_mem_global *glob, struct device *dev); argument 84 void ttm_mem_global_release(struct ttm_mem_global *glob); 85 int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, 87 void ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount); 88 int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, 91 void ttm_mem_global_free_page(struct ttm_mem_global *glob, 94 bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob, uint64_t num_pages,
|
| D | ttm_memory.c | 47 struct ttm_mem_global ttm_mem_glob; 52 struct ttm_mem_global *glob; 117 static void ttm_check_swapping(struct ttm_mem_global *glob); 186 struct ttm_mem_global *glob = in ttm_mem_global_show() 187 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_show() 207 struct ttm_mem_global *glob = in ttm_mem_global_store() 208 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_store() 240 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() 272 static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, in ttm_shrink() 296 struct ttm_mem_global *glob = in ttm_shrink_work() [all …]
|
| D | ttm_object.c | 93 struct ttm_mem_global *mem_glob; 352 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() 427 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() 526 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init()
|
| D | ttm_object.h | 309 ttm_object_device_init(struct ttm_mem_global *mem_glob,
|
| D | vmwgfx_ttm_buffer.c | 320 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_map_dma()
|
| D | vmwgfx_fence.c | 593 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create()
|
| D | vmwgfx_drv.h | 1607 static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) in vmw_mem_glob()
|
| /Linux-v5.15/Documentation/gpu/ |
| D | drm-mm.rst | 64 sizeof(struct ttm_mem_global), and the init and release hooks should
|