/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_resource.h | 36 struct ttm_resource_manager; 70 int (*alloc)(struct ttm_resource_manager *man, 85 void (*free)(struct ttm_resource_manager *man, 98 void (*debug)(struct ttm_resource_manager *man, 119 struct ttm_resource_manager { struct 190 ttm_resource_manager_set_used(struct ttm_resource_manager *man, bool used) in ttm_resource_manager_set_used() 204 static inline bool ttm_resource_manager_used(struct ttm_resource_manager *man) in ttm_resource_manager_used() 217 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() 228 void ttm_resource_manager_init(struct ttm_resource_manager *man, 232 struct ttm_resource_manager *man); [all …]
|
D | ttm_bo_driver.h | 326 struct ttm_resource_manager sysman; 327 struct ttm_resource_manager *man_drv[TTM_NUM_MEM_TYPES]; 355 static inline struct ttm_resource_manager *ttm_manager_type(struct ttm_bo_device *bdev, in ttm_manager_type() 363 struct ttm_resource_manager *manager) in ttm_set_driver_manager()
|
D | ttm_bo_api.h | 610 struct ttm_resource_manager *man,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 27 static inline struct amdgpu_gtt_mgr *to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() 50 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_total_show() 69 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_used_show() 92 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_init() 134 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_fini() 176 static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_new() 239 static void amdgpu_gtt_mgr_del(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_del() 262 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man) in amdgpu_gtt_mgr_usage() 270 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man) in amdgpu_gtt_mgr_recover() 297 static void amdgpu_gtt_mgr_debug(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_debug()
|
D | amdgpu_ttm.h | 41 struct ttm_resource_manager manager; 49 struct ttm_resource_manager manager; 107 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man); 108 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man); 120 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man); 121 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man);
|
D | amdgpu_vram_mgr.c | 31 static inline struct amdgpu_vram_mgr *to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() 88 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vram_used_show() 107 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vis_vram_used_show() 178 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_init() 209 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_fini() 309 static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_vram_mgr_new() 427 static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_vram_mgr_del() 561 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man) in amdgpu_vram_mgr_usage() 575 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man) in amdgpu_vram_mgr_vis_usage() 590 static void amdgpu_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_vram_mgr_debug()
|
D | amdgpu_amdkfd.c | 535 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_amdkfd_get_vram_usage()
|
D | amdgpu_virt.c | 515 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_virt_write_vf2pf_data()
|
D | amdgpu_kms.c | 637 struct ttm_resource_manager *vram_man = in amdgpu_info_ioctl() 639 struct ttm_resource_manager *gtt_man = in amdgpu_info_ioctl()
|
D | amdgpu_ttm.c | 2059 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_ttm_set_buffer_funcs_status() 2281 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, ttm_pl); in amdgpu_mm_dump_table()
|
D | amdgpu_object.c | 454 struct ttm_resource_manager *man = NULL; in amdgpu_bo_validate_size()
|
D | amdgpu_cs.c | 302 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_cs_get_threshold_for_moves()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_range_manager.c | 47 struct ttm_resource_manager manager; 52 static inline struct ttm_range_manager *to_range_manager(struct ttm_resource_manager *man) in to_range_manager() 57 static int ttm_range_man_alloc(struct ttm_resource_manager *man, in ttm_range_man_alloc() 98 static void ttm_range_man_free(struct ttm_resource_manager *man, in ttm_range_man_free() 119 struct ttm_resource_manager *man; in ttm_range_man_init() 145 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini() 171 static void ttm_range_man_debug(struct ttm_resource_manager *man, in ttm_range_man_debug()
|
D | ttm_resource.c | 32 struct ttm_resource_manager *man = in ttm_resource_alloc() 44 struct ttm_resource_manager *man = in ttm_resource_free() 63 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() 87 struct ttm_resource_manager *man) in ttm_resource_manager_force_list_clean() 137 void ttm_resource_manager_debug(struct ttm_resource_manager *man, in ttm_resource_manager_debug()
|
D | ttm_bo.c | 71 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() 116 struct ttm_resource_manager *man; in ttm_bo_add_mem_to_lru() 191 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() 206 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() 240 struct ttm_resource_manager *old_man = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_handle_move_mem() 241 struct ttm_resource_manager *new_man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_handle_move_mem() 726 struct ttm_resource_manager *man, in ttm_mem_evict_first() 803 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() 845 struct ttm_resource_manager *man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_mem_force_space() 865 static uint32_t ttm_bo_select_caching(struct ttm_resource_manager *man, in ttm_bo_select_caching() [all …]
|
D | ttm_bo_util.c | 222 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_memcpy() 587 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_move_pipeline_evict() 613 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_move_accel_cleanup() 614 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 40 struct ttm_resource_manager manager; 48 static struct vmwgfx_gmrid_man *to_gmrid_manager(struct ttm_resource_manager *man) in to_gmrid_manager() 53 static int vmw_gmrid_man_get_node(struct ttm_resource_manager *man, in vmw_gmrid_man_get_node() 87 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() 105 struct ttm_resource_manager *man; in vmw_gmrid_man_init() 141 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
D | vmwgfx_thp.c | 19 struct ttm_resource_manager manager; 24 static struct vmw_thp_manager *to_thp_manager(struct ttm_resource_manager *man) in to_thp_manager() 49 static int vmw_thp_get_node(struct ttm_resource_manager *man, in vmw_thp_get_node() 111 static void vmw_thp_put_node(struct ttm_resource_manager *man, in vmw_thp_put_node() 148 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini() 167 static void vmw_thp_debug(struct ttm_resource_manager *man, in vmw_thp_debug()
|
D | vmwgfx_drv.c | 1189 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable() 1220 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable() 1241 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 35 nouveau_manager_del(struct ttm_resource_manager *man, struct ttm_resource *reg) in nouveau_manager_del() 41 nouveau_vram_manager_new(struct ttm_resource_manager *man, in nouveau_vram_manager_new() 72 nouveau_gart_manager_new(struct ttm_resource_manager *man, in nouveau_gart_manager_new() 95 nv04_gart_manager_new(struct ttm_resource_manager *man, in nv04_gart_manager_new() 198 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() 219 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram() 234 struct ttm_resource_manager *man; in nouveau_ttm_init_gtt() 261 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 260 struct ttm_resource_manager *man = (struct ttm_resource_manager *)node->info_ent->data; in qxl_mm_dump_table()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 898 struct ttm_resource_manager *man; in radeon_ttm_set_active_vram_size() 957 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, ttm_pl); in radeon_mm_dump_table()
|
D | radeon_gem.c | 227 struct ttm_resource_manager *man; in radeon_gem_info_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 1020 struct ttm_resource_manager *man = ttm_manager_type(&vmm->bdev, TTM_PL_VRAM); in drm_vram_mm_debugfs()
|