/linux-6.6.21/include/drm/ttm/ |
D | ttm_resource.h | 42 struct ttm_resource_manager; 74 int (*alloc)(struct ttm_resource_manager *man, 88 void (*free)(struct ttm_resource_manager *man, 102 bool (*intersects)(struct ttm_resource_manager *man, 118 bool (*compatible)(struct ttm_resource_manager *man, 133 void (*debug)(struct ttm_resource_manager *man, 151 struct ttm_resource_manager { struct 308 ttm_resource_manager_set_used(struct ttm_resource_manager *man, bool used) in ttm_resource_manager_set_used() 326 static inline bool ttm_resource_manager_used(struct ttm_resource_manager *man) in ttm_resource_manager_used() 339 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() [all …]
|
D | ttm_device.h | 232 struct ttm_resource_manager sysman; 237 struct ttm_resource_manager *man_drv[TTM_NUM_MEM_TYPES]; 275 static inline struct ttm_resource_manager * 284 struct ttm_resource_manager *manager) in ttm_set_driver_manager()
|
D | ttm_bo.h | 51 struct ttm_resource_manager; 381 struct ttm_resource_manager *man,
|
/linux-6.6.21/drivers/gpu/drm/ttm/ |
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() 102 static void ttm_range_man_free(struct ttm_resource_manager *man, in ttm_range_man_free() 116 static bool ttm_range_man_intersects(struct ttm_resource_manager *man, in ttm_range_man_intersects() 132 static bool ttm_range_man_compatible(struct ttm_resource_manager *man, in ttm_range_man_compatible() 147 static void ttm_range_man_debug(struct ttm_resource_manager *man, in ttm_range_man_debug() 182 struct ttm_resource_manager *man; in ttm_range_man_init_nocheck() 217 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
|
D | ttm_resource.c | 60 struct ttm_resource_manager *man; in ttm_lru_bulk_move_tail() 162 struct ttm_resource_manager *man; in ttm_resource_move_to_lru_tail() 181 struct ttm_resource_manager *man; in ttm_resource_init() 214 void ttm_resource_fini(struct ttm_resource_manager *man, in ttm_resource_fini() 230 struct ttm_resource_manager *man = in ttm_resource_alloc() 246 struct ttm_resource_manager *man; in ttm_resource_free() 278 struct ttm_resource_manager *man; in ttm_resource_intersects() 307 struct ttm_resource_manager *man; in ttm_resource_compatible() 385 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() 412 struct ttm_resource_manager *man) in ttm_resource_manager_evict_all() [all …]
|
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() 37 struct ttm_resource_manager *man = &bdev->sysman; in ttm_sys_man_init()
|
D | ttm_bo_util.c | 147 struct ttm_resource_manager *dst_man = in ttm_bo_move_memcpy() 151 struct ttm_resource_manager *src_man; in ttm_bo_move_memcpy() 293 struct ttm_resource_manager *man; in ttm_io_prot() 608 struct ttm_resource_manager *from; in ttm_bo_move_pipeline_evict() 649 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_accel_cleanup() 650 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup() 683 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_sync_cleanup()
|
D | ttm_device.c | 145 struct ttm_resource_manager *man; in ttm_device_swapout() 232 struct ttm_resource_manager *man; in ttm_device_fini() 284 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings()
|
D | ttm_bo.c | 53 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() 590 struct ttm_resource_manager *man, in ttm_mem_evict_first() 695 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() 732 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() 786 struct ttm_resource_manager *man; in ttm_bo_mem_space() 812 struct ttm_resource_manager *man; in ttm_bo_mem_space()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_ttm_buddy_manager.h | 15 struct ttm_resource_manager; 59 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, 62 u64 i915_ttm_buddy_man_visible_size(struct ttm_resource_manager *man); 64 void i915_ttm_buddy_man_avail(struct ttm_resource_manager *man, 68 void i915_ttm_buddy_man_force_visible_size(struct ttm_resource_manager *man,
|
D | i915_ttm_buddy_manager.c | 18 struct ttm_resource_manager manager; 29 to_buddy_manager(struct ttm_resource_manager *man) in to_buddy_manager() 34 static int i915_ttm_buddy_man_alloc(struct ttm_resource_manager *man, in i915_ttm_buddy_man_alloc() 154 static void i915_ttm_buddy_man_free(struct ttm_resource_manager *man, in i915_ttm_buddy_man_free() 169 static bool i915_ttm_buddy_man_intersects(struct ttm_resource_manager *man, in i915_ttm_buddy_man_intersects() 207 static bool i915_ttm_buddy_man_compatible(struct ttm_resource_manager *man, in i915_ttm_buddy_man_compatible() 240 static void i915_ttm_buddy_man_debug(struct ttm_resource_manager *man, in i915_ttm_buddy_man_debug() 305 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() 351 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini() 387 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, in i915_ttm_buddy_man_reserve() [all …]
|
D | intel_region_ttm.c | 110 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_fini() 203 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_alloc() 258 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 30 to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() 49 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_total_show() 69 struct ttm_resource_manager *man = &adev->mman.gtt_mgr.manager; in amdgpu_mem_info_gtt_used_show() 113 static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_new() 168 static void amdgpu_gtt_mgr_del(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_del() 217 static bool amdgpu_gtt_mgr_intersects(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_intersects() 235 static bool amdgpu_gtt_mgr_compatible(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_compatible() 251 static void amdgpu_gtt_mgr_debug(struct ttm_resource_manager *man, in amdgpu_gtt_mgr_debug() 280 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_init() 309 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_fini()
|
D | amdgpu_preempt_mgr.c | 42 struct ttm_resource_manager *man = &adev->mman.preempt_mgr; in mem_info_preempt_used_show() 59 static int amdgpu_preempt_mgr_new(struct ttm_resource_manager *man, in amdgpu_preempt_mgr_new() 81 static void amdgpu_preempt_mgr_del(struct ttm_resource_manager *man, in amdgpu_preempt_mgr_del() 102 struct ttm_resource_manager *man = &adev->mman.preempt_mgr; in amdgpu_preempt_mgr_init() 131 struct ttm_resource_manager *man = &adev->mman.preempt_mgr; in amdgpu_preempt_mgr_fini()
|
D | amdgpu_vram_mgr.c | 42 to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() 130 struct ttm_resource_manager *man = &adev->mman.vram_mgr.manager; in amdgpu_mem_info_vram_used_show() 269 static void amdgpu_vram_mgr_do_reserve(struct ttm_resource_manager *man) in amdgpu_vram_mgr_do_reserve() 373 static void amdgpu_dummy_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_debug() 379 static bool amdgpu_dummy_vram_mgr_compatible(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_compatible() 388 static bool amdgpu_dummy_vram_mgr_intersects(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_intersects() 397 static void amdgpu_dummy_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_del() 403 static int amdgpu_dummy_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_dummy_vram_mgr_new() 422 static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_vram_mgr_new() 615 static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_vram_mgr_del() [all …]
|
D | amdgpu_ttm.h | 49 struct ttm_resource_manager manager; 73 struct ttm_resource_manager preempt_mgr; 124 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man);
|
D | amdgpu_vram_mgr.h | 30 struct ttm_resource_manager manager;
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 38 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() 124 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() 137 static void vmw_gmrid_man_debug(struct ttm_resource_manager *man, in vmw_gmrid_man_debug() 153 struct ttm_resource_manager *man; in vmw_gmrid_man_init() 189 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
D | vmwgfx_system_manager.c | 35 static int vmw_sys_man_alloc(struct ttm_resource_manager *man, in vmw_sys_man_alloc() 48 static void vmw_sys_man_free(struct ttm_resource_manager *man, in vmw_sys_man_free() 63 struct ttm_resource_manager *man = in vmw_sys_man_init() 80 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, in vmw_sys_man_fini()
|
D | vmwgfx_ttm_buffer.c | 518 struct ttm_resource_manager *new_man; in vmw_move() 519 struct ttm_resource_manager *old_man = NULL; in vmw_move()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 39 nouveau_manager_del(struct ttm_resource_manager *man, in nouveau_manager_del() 46 nouveau_manager_intersects(struct ttm_resource_manager *man, in nouveau_manager_intersects() 55 nouveau_manager_compatible(struct ttm_resource_manager *man, in nouveau_manager_compatible() 64 nouveau_vram_manager_new(struct ttm_resource_manager *man, in nouveau_vram_manager_new() 99 nouveau_gart_manager_new(struct ttm_resource_manager *man, in nouveau_gart_manager_new() 125 nv04_gart_manager_new(struct ttm_resource_manager *man, in nv04_gart_manager_new() 184 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() 205 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram() 220 struct ttm_resource_manager *man; in nouveau_ttm_init_gtt() 247 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
|
D | nouveau_mem.h | 26 void nouveau_mem_del(struct ttm_resource_manager *man,
|
/linux-6.6.21/drivers/gpu/drm/ttm/tests/ |
D | ttm_device_test.c | 22 struct ttm_resource_manager *ttm_sys_man; in ttm_device_init_basic() 78 struct ttm_resource_manager *man; in ttm_device_fini_basic()
|
/linux-6.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_ttm.c | 412 struct ttm_resource_manager *man; in lsdc_bo_evict_vram() 585 struct ttm_resource_manager *vram_man; in lsdc_ttm_debugfs_init() 586 struct ttm_resource_manager *gtt_man; in lsdc_ttm_debugfs_init()
|
/linux-6.6.21/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 403 struct ttm_resource_manager *man; in qxl_surf_evict() 411 struct ttm_resource_manager *man; in qxl_vram_evict()
|