/linux/include/drm/ttm/ |
A D | ttm_resource.h | 39 struct ttm_resource_manager; 71 int (*alloc)(struct ttm_resource_manager *man, 85 void (*free)(struct ttm_resource_manager *man, 98 void (*debug)(struct ttm_resource_manager *man, 116 struct ttm_resource_manager { struct 224 ttm_resource_manager_set_used(struct ttm_resource_manager *man, bool used) in ttm_resource_manager_set_used() 242 static inline bool ttm_resource_manager_used(struct ttm_resource_manager *man) in ttm_resource_manager_used() 255 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() 271 void ttm_resource_manager_init(struct ttm_resource_manager *man, 275 struct ttm_resource_manager *man); [all …]
|
A D | ttm_device.h | 243 struct ttm_resource_manager sysman; 248 struct ttm_resource_manager *man_drv[TTM_NUM_MEM_TYPES]; 291 static inline struct ttm_resource_manager * 300 struct ttm_resource_manager *manager) in ttm_set_driver_manager()
|
A D | ttm_bo_api.h | 574 struct ttm_resource_manager *man,
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_preempt_mgr.c | 29 to_preempt_mgr(struct ttm_resource_manager *man) in to_preempt_mgr() 48 struct ttm_resource_manager *man; in mem_info_preempt_used_show() 66 static int amdgpu_preempt_mgr_new(struct ttm_resource_manager *man, in amdgpu_preempt_mgr_new() 92 static void amdgpu_preempt_mgr_del(struct ttm_resource_manager *man, in amdgpu_preempt_mgr_del() 108 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man) in amdgpu_preempt_mgr_usage() 124 static void amdgpu_preempt_mgr_debug(struct ttm_resource_manager *man, in amdgpu_preempt_mgr_debug() 149 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_preempt_mgr_init() 182 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_preempt_mgr_fini()
|
A D | amdgpu_ttm.h | 42 struct ttm_resource_manager manager; 52 struct ttm_resource_manager manager; 59 struct ttm_resource_manager manager; 117 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man); 118 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man); 120 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man); 132 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man); 133 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man); 134 int amdgpu_vram_mgr_reserve_range(struct ttm_resource_manager *man, 136 int amdgpu_vram_mgr_query_page_status(struct ttm_resource_manager *man,
|
A D | amdgpu_gtt_mgr.c | 35 to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() 60 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_total_show() 80 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_used_show() 125 static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_new() 189 static void amdgpu_gtt_mgr_del(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_del() 213 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man) in amdgpu_gtt_mgr_usage() 227 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man) in amdgpu_gtt_mgr_recover() 258 static void amdgpu_gtt_mgr_debug(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_debug() 288 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_init() 318 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_fini()
|
A D | amdgpu_vram_mgr.c | 40 to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() 99 struct ttm_resource_manager *man; in amdgpu_mem_info_vram_used_show() 119 struct ttm_resource_manager *man; in amdgpu_mem_info_vis_vram_used_show() 272 int amdgpu_vram_mgr_reserve_range(struct ttm_resource_manager *man, in amdgpu_vram_mgr_reserve_range() 368 static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_vram_mgr_new() 494 static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_vram_mgr_del() 639 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man) in amdgpu_vram_mgr_usage() 653 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man) in amdgpu_vram_mgr_vis_usage() 668 static void amdgpu_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_vram_mgr_debug() 698 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_init() [all …]
|
A D | amdgpu_ttm.c | 1863 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_ttm_set_buffer_funcs_status() 2072 struct ttm_resource_manager *man; in amdgpu_ttm_evict_resources() 2095 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_vram_table_show() 2113 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_tt_table_show() 2124 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_gds_table_show() 2135 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_gws_table_show() 2146 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_oa_table_show()
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_range_manager.c | 47 struct ttm_resource_manager manager; 53 to_range_manager(struct ttm_resource_manager *man) in to_range_manager() 58 static int ttm_range_man_alloc(struct ttm_resource_manager *man, in ttm_range_man_alloc() 101 static void ttm_range_man_free(struct ttm_resource_manager *man, in ttm_range_man_free() 114 static void ttm_range_man_debug(struct ttm_resource_manager *man, in ttm_range_man_debug() 145 struct ttm_resource_manager *man; in ttm_range_man_init_nocheck() 179 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
|
A D | ttm_sys_manager.c | 10 static int ttm_sys_man_alloc(struct ttm_resource_manager *man, in ttm_sys_man_alloc() 23 static void ttm_sys_man_free(struct ttm_resource_manager *man, in ttm_sys_man_free() 36 struct ttm_resource_manager *man = &bdev->sysman; in ttm_sys_man_init()
|
A D | ttm_resource.c | 51 struct ttm_resource_manager *man = in ttm_resource_alloc() 59 struct ttm_resource_manager *man; in ttm_resource_free() 127 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() 151 struct ttm_resource_manager *man) in ttm_resource_manager_evict_all() 200 void ttm_resource_manager_debug(struct ttm_resource_manager *man, in ttm_resource_manager_debug()
|
A D | ttm_bo.c | 57 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() 105 struct ttm_resource_manager *man; in ttm_bo_move_to_lru_tail() 144 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() 159 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() 179 struct ttm_resource_manager *old_man, *new_man; in ttm_bo_handle_move_mem() 670 struct ttm_resource_manager *man, in ttm_mem_evict_first() 741 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() 784 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() 828 struct ttm_resource_manager *man; in ttm_bo_mem_space() 854 struct ttm_resource_manager *man; in ttm_bo_mem_space()
|
A D | ttm_bo_util.c | 136 struct ttm_resource_manager *dst_man = in ttm_bo_move_memcpy() 140 struct ttm_resource_manager *src_man = in ttm_bo_move_memcpy() 258 struct ttm_resource_manager *man; in ttm_io_prot() 523 struct ttm_resource_manager *from; in ttm_bo_move_pipeline_evict() 551 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_accel_cleanup() 552 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
|
A D | ttm_device.c | 145 struct ttm_resource_manager *man; in ttm_device_swapout() 235 struct ttm_resource_manager *man; in ttm_device_fini() 264 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_ttm_buddy_manager.c | 17 struct ttm_resource_manager manager; 25 to_buddy_manager(struct ttm_resource_manager *man) in to_buddy_manager() 30 static int i915_ttm_buddy_man_alloc(struct ttm_resource_manager *man, in i915_ttm_buddy_man_alloc() 116 static void i915_ttm_buddy_man_free(struct ttm_resource_manager *man, in i915_ttm_buddy_man_free() 129 static void i915_ttm_buddy_man_debug(struct ttm_resource_manager *man, in i915_ttm_buddy_man_debug() 185 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() 229 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini() 263 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, in i915_ttm_buddy_man_reserve()
|
A D | i915_ttm_buddy_manager.h | 15 struct ttm_resource_manager; 53 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man,
|
A D | intel_region_ttm.c | 164 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_alloc() 189 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_gmrid_manager.c | 39 struct ttm_resource_manager manager; 47 static struct vmwgfx_gmrid_man *to_gmrid_manager(struct ttm_resource_manager *man) in to_gmrid_manager() 52 static int vmw_gmrid_man_get_node(struct ttm_resource_manager *man, in vmw_gmrid_man_get_node() 123 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() 139 struct ttm_resource_manager *man; in vmw_gmrid_man_init() 175 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
A D | vmwgfx_thp.c | 20 struct ttm_resource_manager manager; 25 static struct vmw_thp_manager *to_thp_manager(struct ttm_resource_manager *man) in to_thp_manager() 51 static int vmw_thp_get_node(struct ttm_resource_manager *man, in vmw_thp_get_node() 116 static void vmw_thp_put_node(struct ttm_resource_manager *man, in vmw_thp_put_node() 151 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini() 170 static void vmw_thp_debug(struct ttm_resource_manager *man, in vmw_thp_debug()
|
A D | vmwgfx_drv.c | 553 struct ttm_resource_manager *man; in vmw_request_device() 589 struct ttm_resource_manager *man; in vmw_release_device_early() 1317 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable() 1344 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable() 1363 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 39 nouveau_manager_del(struct ttm_resource_manager *man, struct ttm_resource *reg) in nouveau_manager_del() 45 nouveau_vram_manager_new(struct ttm_resource_manager *man, in nouveau_vram_manager_new() 78 nouveau_gart_manager_new(struct ttm_resource_manager *man, in nouveau_gart_manager_new() 102 nv04_gart_manager_new(struct ttm_resource_manager *man, in nv04_gart_manager_new() 159 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() 180 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram() 195 struct ttm_resource_manager *man; in nouveau_ttm_init_gtt() 222 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 231 struct ttm_resource_manager *man = (struct ttm_resource_manager *)node->info_ent->data; in qxl_mm_dump_table()
|
A D | qxl_object.c | 402 struct ttm_resource_manager *man; in qxl_surf_evict() 410 struct ttm_resource_manager *man; in qxl_vram_evict()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.c | 185 struct ttm_resource_manager *man = in i915_ttm_tt_create() 450 struct ttm_resource_manager *src_man = in i915_ttm_accel_move() 544 struct ttm_resource_manager *dst_man = in i915_ttm_move()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 786 struct ttm_resource_manager *man; in radeon_ttm_set_active_vram_size() 801 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, in radeon_mm_vram_dump_table_show() 819 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, in radeon_mm_gtt_dump_table_show()
|