/linux-6.1.9/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]; 280 static inline struct ttm_resource_manager * 289 struct ttm_resource_manager *manager) in ttm_set_driver_manager()
|
D | ttm_bo_api.h | 444 struct ttm_resource_manager *man,
|
/linux-6.1.9/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 | 59 struct ttm_resource_manager *man; in ttm_lru_bulk_move_tail() 158 struct ttm_resource_manager *man; in ttm_resource_move_to_lru_tail() 177 struct ttm_resource_manager *man; in ttm_resource_init() 210 void ttm_resource_fini(struct ttm_resource_manager *man, in ttm_resource_fini() 226 struct ttm_resource_manager *man = in ttm_resource_alloc() 242 struct ttm_resource_manager *man; in ttm_resource_free() 274 struct ttm_resource_manager *man; in ttm_resource_intersects() 303 struct ttm_resource_manager *man; in ttm_resource_compatible() 382 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() 409 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 | 136 struct ttm_resource_manager *dst_man = in ttm_bo_move_memcpy() 140 struct ttm_resource_manager *src_man; in ttm_bo_move_memcpy() 273 struct ttm_resource_manager *man; in ttm_io_prot() 539 struct ttm_resource_manager *from; in ttm_bo_move_pipeline_evict() 564 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_accel_cleanup() 565 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup() 589 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_sync_cleanup()
|
D | ttm_device.c | 146 struct ttm_resource_manager *man; in ttm_device_swapout() 239 struct ttm_resource_manager *man; in ttm_device_fini() 293 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings()
|
D | ttm_bo.c | 51 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() 614 struct ttm_resource_manager *man, in ttm_mem_evict_first() 719 struct ttm_resource_manager *man, in ttm_bo_add_move_fence() 756 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() 800 struct ttm_resource_manager *man; in ttm_bo_mem_space() 826 struct ttm_resource_manager *man; in ttm_bo_mem_space()
|
/linux-6.1.9/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() 161 static void i915_ttm_buddy_man_free(struct ttm_resource_manager *man, in i915_ttm_buddy_man_free() 176 static bool i915_ttm_buddy_man_intersects(struct ttm_resource_manager *man, in i915_ttm_buddy_man_intersects() 214 static bool i915_ttm_buddy_man_compatible(struct ttm_resource_manager *man, in i915_ttm_buddy_man_compatible() 247 static void i915_ttm_buddy_man_debug(struct ttm_resource_manager *man, in i915_ttm_buddy_man_debug() 312 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() 358 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini() 394 int i915_ttm_buddy_man_reserve(struct ttm_resource_manager *man, in i915_ttm_buddy_man_reserve() [all …]
|
D | intel_region_ttm.c | 111 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() 244 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free()
|
/linux-6.1.9/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() 383 static int amdgpu_vram_mgr_new(struct ttm_resource_manager *man, in amdgpu_vram_mgr_new() 575 static void amdgpu_vram_mgr_del(struct ttm_resource_manager *man, in amdgpu_vram_mgr_del() 733 static bool amdgpu_vram_mgr_intersects(struct ttm_resource_manager *man, in amdgpu_vram_mgr_intersects() 766 static bool amdgpu_vram_mgr_compatible(struct ttm_resource_manager *man, in amdgpu_vram_mgr_compatible() 797 static void amdgpu_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_vram_mgr_debug() 837 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_init() 870 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_fini()
|
D | amdgpu_ttm.h | 45 struct ttm_resource_manager manager; 66 struct ttm_resource_manager preempt_mgr; 110 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man);
|
D | amdgpu_vram_mgr.h | 30 struct ttm_resource_manager manager;
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 39 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() 125 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() 138 static void vmw_gmrid_man_debug(struct ttm_resource_manager *man, in vmw_gmrid_man_debug() 154 struct ttm_resource_manager *man; in vmw_gmrid_man_init() 190 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
D | vmwgfx_system_manager.c | 36 static int vmw_sys_man_alloc(struct ttm_resource_manager *man, in vmw_sys_man_alloc() 49 static void vmw_sys_man_free(struct ttm_resource_manager *man, in vmw_sys_man_free() 64 struct ttm_resource_manager *man = in vmw_sys_man_init() 81 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, in vmw_sys_man_fini()
|
D | vmwgfx_ttm_buffer.c | 600 struct ttm_resource_manager *old_man = ttm_manager_type(bo->bdev, bo->resource->mem_type); in vmw_move() 601 struct ttm_resource_manager *new_man = ttm_manager_type(bo->bdev, new_mem->mem_type); in vmw_move()
|
D | vmwgfx_drv.c | 551 struct ttm_resource_manager *man; in vmw_request_device() 587 struct ttm_resource_manager *man; in vmw_release_device_early() 1345 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable() 1372 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable() 1391 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
|
/linux-6.1.9/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,
|
D | nouveau_mem.c | 165 nouveau_mem_del(struct ttm_resource_manager *man, struct ttm_resource *reg) in nouveau_mem_del()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 402 struct ttm_resource_manager *man; in qxl_surf_evict() 410 struct ttm_resource_manager *man; in qxl_vram_evict()
|