Searched refs:ttm_mem_global (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_memory.h | 66 extern struct ttm_mem_global { struct 82 int ttm_mem_global_init(struct ttm_mem_global *glob); argument 83 void ttm_mem_global_release(struct ttm_mem_global *glob); 84 int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, 86 void ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount); 87 int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, 90 void ttm_mem_global_free_page(struct ttm_mem_global *glob, 93 bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob, uint64_t num_pages,
|
D | ttm_page_alloc.h | 37 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 81 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 98 static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, in ttm_dma_page_alloc_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 44 struct ttm_mem_global ttm_mem_glob; 49 struct ttm_mem_global *glob; 114 static void ttm_check_swapping(struct ttm_mem_global *glob); 183 struct ttm_mem_global *glob = in ttm_mem_global_show() 184 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_show() 204 struct ttm_mem_global *glob = in ttm_mem_global_store() 205 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_store() 237 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() 269 static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, in ttm_shrink() 293 struct ttm_mem_global *glob = in ttm_shrink_work() [all …]
|
D | ttm_page_alloc.c | 954 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() 1031 struct ttm_mem_global *mem_glob = &ttm_mem_glob; in ttm_pool_unpopulate_helper() 1052 struct ttm_mem_global *mem_glob = &ttm_mem_glob; in ttm_pool_populate()
|
D | ttm_page_alloc_dma.c | 888 struct ttm_mem_global *mem_glob = &ttm_mem_glob; in ttm_dma_populate() 993 struct ttm_mem_global *mem_glob = &ttm_mem_glob; in ttm_dma_unpopulate() 1160 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init()
|
D | ttm_bo.c | 1133 struct ttm_mem_global *mem_glob = &ttm_mem_glob; in ttm_bo_init_reserved()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
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 | 308 ttm_object_device_init(struct ttm_mem_global *mem_glob,
|
D | vmwgfx_ttm_buffer.c | 424 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_map_dma() 654 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_populate() 683 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_unpopulate()
|
D | vmwgfx_fence.c | 609 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create()
|
D | vmwgfx_drv.h | 1569 static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) in vmw_mem_glob()
|
/kernel/linux/linux-5.10/Documentation/gpu/ |
D | drm-mm.rst | 64 sizeof(struct ttm_mem_global), and the init and release hooks should
|