Home
last modified time | relevance | path

Searched refs:ttm_resource_manager (Results 1 – 25 of 29) sorted by relevance

12

/openbsd/sys/dev/pci/drm/include/drm/ttm/
H A Dttm_resource.h42 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
358 void ttm_resource_fini(struct ttm_resource_manager *man,
383 struct ttm_resource_manager *man);
390 ttm_resource_manager_first(struct ttm_resource_manager *man,
[all …]
H A Dttm_device.h232 struct ttm_resource_manager sysman;
237 struct ttm_resource_manager *man_drv[TTM_NUM_MEM_TYPES];
279 static inline struct ttm_resource_manager *
290 struct ttm_resource_manager *manager) in ttm_set_driver_manager()
H A Dttm_bo.h53 struct ttm_resource_manager;
387 struct ttm_resource_manager *man,
/openbsd/sys/dev/pci/drm/ttm/
H A Dttm_range_manager.c47 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()
H A Dttm_resource.c60 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()
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()
412 struct ttm_resource_manager *man) in ttm_resource_manager_evict_all()
775 struct ttm_resource_manager *man = in ttm_resource_manager_show()
776 (struct ttm_resource_manager *)m->private; in ttm_resource_manager_show()
[all …]
H A Dttm_sys_manager.c10 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()
H A Dttm_bo_util.c148 struct ttm_resource_manager *dst_man = in ttm_bo_move_memcpy()
152 struct ttm_resource_manager *src_man; in ttm_bo_move_memcpy()
295 struct ttm_resource_manager *man; in ttm_io_prot()
357 struct ttm_resource_manager *man = in ttm_bo_kmap_ttm()
641 struct ttm_resource_manager *from; in ttm_bo_move_pipeline_evict()
682 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->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_accel_cleanup()
716 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_sync_cleanup()
H A Dttm_device.c141 struct ttm_resource_manager *man; in ttm_device_swapout()
228 struct ttm_resource_manager *man; in ttm_device_fini()
280 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings()
H A Dttm_bo.c53 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()
/openbsd/sys/dev/pci/drm/i915/
H A Di915_ttm_buddy_manager.h15 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,
H A Di915_ttm_buddy_manager.c18 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()
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()
422 u64 i915_ttm_buddy_man_visible_size(struct ttm_resource_manager *man) in i915_ttm_buddy_man_visible_size()
[all …]
H A Dintel_region_ttm.c116 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_fini()
209 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_alloc()
264 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free()
H A Dintel_memory_region.c190 struct ttm_resource_manager *man = mem->region_private; in intel_memory_region_reserve()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_gtt_mgr.c30 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()
H A Damdgpu_preempt_mgr.c42 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()
H A Damdgpu_vram_mgr.c42 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()
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()
844 static void amdgpu_vram_mgr_debug(struct ttm_resource_manager *man, in amdgpu_vram_mgr_debug()
893 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_init()
[all …]
H A Damdgpu_ttm.h49 struct ttm_resource_manager manager;
74 struct ttm_resource_manager preempt_mgr;
125 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man);
H A Damdgpu_vram_mgr.h30 struct ttm_resource_manager manager;
H A Damdgpu_kms.c690 struct ttm_resource_manager *gtt_man = in amdgpu_info_ioctl()
692 struct ttm_resource_manager *vram_man = in amdgpu_info_ioctl()
/openbsd/sys/dev/pci/drm/ttm/tests/
H A Dttm_device_test.c22 struct ttm_resource_manager *ttm_sys_man; in ttm_device_init_basic()
78 struct ttm_resource_manager *man; in ttm_device_fini_basic()
/openbsd/sys/dev/pci/drm/radeon/
H A Dradeon_object.c354 struct ttm_resource_manager *man; in radeon_bo_evict_vram()
440 struct ttm_resource_manager *man = in radeon_bo_get_threshold_for_moves()
H A Dradeon_kms.c245 struct ttm_resource_manager *man; in radeon_info_ioctl()
H A Dradeon_ttm.c811 struct ttm_resource_manager *man; in radeon_ttm_set_active_vram_size()
H A Dradeon_gem.c391 struct ttm_resource_manager *man; in radeon_gem_info_ioctl()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_ttm_move.c579 struct ttm_resource_manager *dst_man = in i915_ttm_move()

12