/openbsd/sys/dev/pci/drm/include/drm/ttm/ |
H A 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 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 D | ttm_device.h | 232 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 D | ttm_bo.h | 53 struct ttm_resource_manager; 387 struct ttm_resource_manager *man,
|
/openbsd/sys/dev/pci/drm/ttm/ |
H 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() 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 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() 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 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()
|
H A D | ttm_bo_util.c | 148 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 D | ttm_device.c | 141 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 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()
|
/openbsd/sys/dev/pci/drm/i915/ |
H A 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,
|
H A 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() 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 D | intel_region_ttm.c | 116 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 D | intel_memory_region.c | 190 struct ttm_resource_manager *man = mem->region_private; in intel_memory_region_reserve()
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A 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()
|
H A 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()
|
H A 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() 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 D | amdgpu_ttm.h | 49 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 D | amdgpu_vram_mgr.h | 30 struct ttm_resource_manager manager;
|
H A D | amdgpu_kms.c | 690 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 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()
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | radeon_object.c | 354 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 D | radeon_kms.c | 245 struct ttm_resource_manager *man; in radeon_info_ioctl()
|
H A D | radeon_ttm.c | 811 struct ttm_resource_manager *man; in radeon_ttm_set_active_vram_size()
|
H A D | radeon_gem.c | 391 struct ttm_resource_manager *man; in radeon_gem_info_ioctl()
|
/openbsd/sys/dev/pci/drm/i915/gem/ |
H A D | i915_gem_ttm_move.c | 579 struct ttm_resource_manager *dst_man = in i915_ttm_move()
|