/Linux-v4.19/include/drm/ttm/ |
D | ttm_memory.h | 66 struct ttm_mem_global { struct 83 extern int ttm_mem_global_init(struct ttm_mem_global *glob); argument 84 extern void ttm_mem_global_release(struct ttm_mem_global *glob); 85 extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, 87 extern void ttm_mem_global_free(struct ttm_mem_global *glob, 89 extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, 92 extern void ttm_mem_global_free_page(struct ttm_mem_global *glob, 95 extern uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob); 96 extern bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob,
|
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()
|
D | ttm_bo_driver.h | 393 struct ttm_mem_global *mem_glob; 417 struct ttm_mem_global *mem_glob;
|
D | ttm_object.h | 308 ttm_object_device_init(struct ttm_mem_global *mem_glob,
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 46 struct ttm_mem_global *glob; 111 static void ttm_check_swapping(struct ttm_mem_global *glob); 180 struct ttm_mem_global *glob = in ttm_mem_global_show() 181 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_show() 201 struct ttm_mem_global *glob = in ttm_mem_global_store() 202 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_store() 221 struct ttm_mem_global *glob = in ttm_mem_global_kobj_release() 222 container_of(kobj, struct ttm_mem_global, kobj); in ttm_mem_global_kobj_release() 243 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() 275 static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, in ttm_shrink() [all …]
|
D | ttm_object.c | 94 struct ttm_mem_global *mem_glob; 328 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() 403 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() 505 ttm_object_device_init(struct ttm_mem_global *mem_glob, in ttm_object_device_init()
|
D | ttm_page_alloc.c | 953 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() 1030 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_unpopulate_helper() 1051 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_pool_populate()
|
D | ttm_page_alloc_dma.c | 892 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_populate() 997 struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; in ttm_dma_unpopulate() 1163 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init()
|
D | ttm_bo.c | 1126 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init_reserved()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 64 global_ref->size = sizeof(struct ttm_mem_global); in vmw_ttm_global_init()
|
D | vmwgfx_ttm_buffer.c | 418 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_map_dma() 666 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_populate() 694 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); in vmw_ttm_unpopulate()
|
D | vmwgfx_drv.h | 1289 static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) in vmw_mem_glob() 1291 return (struct ttm_mem_global *) dev_priv->mem_global_ref.object; in vmw_mem_glob()
|
D | vmwgfx_fence.c | 604 struct ttm_mem_global *mem_glob = vmw_mem_glob(fman->dev_priv); in vmw_user_fence_create()
|
/Linux-v4.19/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 71 global_ref->size = sizeof(struct ttm_mem_global); in virtio_gpu_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 197 global_ref->size = sizeof(struct ttm_mem_global); in nouveau_ttm_global_init()
|
/Linux-v4.19/drivers/staging/vboxvideo/ |
D | vbox_ttm.c | 58 global_ref->size = sizeof(struct ttm_mem_global); in vbox_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/mgag200/ |
D | mgag200_ttm.c | 58 global_ref->size = sizeof(struct ttm_mem_global); in mgag200_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/ast/ |
D | ast_ttm.c | 58 global_ref->size = sizeof(struct ttm_mem_global); in ast_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/cirrus/ |
D | cirrus_ttm.c | 58 global_ref->size = sizeof(struct ttm_mem_global); in cirrus_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 67 global_ref->size = sizeof(struct ttm_mem_global); in qxl_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_ttm.c | 49 hibmc->mem_global_ref.size = sizeof(struct ttm_mem_global); in hibmc_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/bochs/ |
D | bochs_mm.c | 36 global_ref->size = sizeof(struct ttm_mem_global); in bochs_ttm_global_init()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 85 global_ref->size = sizeof(struct ttm_mem_global); in radeon_ttm_global_init()
|
/Linux-v4.19/Documentation/gpu/ |
D | drm-mm.rst | 64 sizeof(struct ttm_mem_global), and the init and release hooks should
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 112 global_ref->size = sizeof(struct ttm_mem_global); in amdgpu_ttm_global_init()
|