| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_object.h | 101 struct amdgpu_bo { struct 113 struct amdgpu_bo *parent; argument 129 struct amdgpu_bo bo; argument 138 struct amdgpu_bo bo; 254 struct amdgpu_bo **bo_ptr); 265 struct amdgpu_bo **bo, 280 void *amdgpu_bo_kptr(struct amdgpu_bo *bo); 281 void amdgpu_bo_kunmap(struct amdgpu_bo *bo); 282 struct amdgpu_bo *amdgpu_bo_ref(struct amdgpu_bo *bo); 283 void amdgpu_bo_unref(struct amdgpu_bo **bo); [all …]
|
| H A D | amdgpu_ttm.h | 75 struct amdgpu_bo *stolen_vga_memory; 77 struct amdgpu_bo *stolen_extended_memory; 80 struct amdgpu_bo *stolen_reserved_memory; 88 struct amdgpu_bo *fw_reserved_memory; 93 struct amdgpu_bo *fw_vram_usage_reserved_bo; 99 struct amdgpu_bo *drv_vram_usage_reserved_bo; 103 struct amdgpu_bo *sdma_access_bo; 142 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo); 176 int amdgpu_ttm_clear_buffer(struct amdgpu_bo *bo, 179 int amdgpu_fill_buffer(struct amdgpu_bo *bo, [all …]
|
| H A D | amdgpu_bo_list.h | 33 struct amdgpu_bo; 38 struct amdgpu_bo *bo; 49 struct amdgpu_bo *gds_obj; 50 struct amdgpu_bo *gws_obj; 51 struct amdgpu_bo *oa_obj;
|
| H A D | amdgpu_object.c | 61 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() 74 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() 260 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_bo_create_reserved() 630 struct amdgpu_bo **bo_ptr) in amdgpu_bo_create() 640 struct amdgpu_bo *bo; in amdgpu_bo_create() 766 struct amdgpu_bo *bo_ptr; in amdgpu_bo_create_user() 795 struct amdgpu_bo *bo_ptr; in amdgpu_bo_create_vm() 860 void *amdgpu_bo_kptr(struct amdgpu_bo *bo) in amdgpu_bo_kptr() 888 struct amdgpu_bo *amdgpu_bo_ref(struct amdgpu_bo *bo) in amdgpu_bo_ref() 1255 struct amdgpu_bo *abo; in amdgpu_bo_move_notify() [all …]
|
| H A D | amdgpu_hmm.h | 41 int amdgpu_hmm_register(struct amdgpu_bo *bo, unsigned long addr); 42 void amdgpu_hmm_unregister(struct amdgpu_bo *bo); 44 static inline int amdgpu_hmm_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_hmm_register() 50 static inline void amdgpu_hmm_unregister(struct amdgpu_bo *bo) {} in amdgpu_hmm_unregister()
|
| H A D | amdgpu_csa.h | 32 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, 35 struct amdgpu_bo *bo, struct amdgpu_bo_va **bo_va, 38 struct amdgpu_bo *bo, struct amdgpu_bo_va *bo_va, 40 void amdgpu_free_static_csa(struct amdgpu_bo **bo);
|
| H A D | amdgpu_dma_buf.c | 61 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in dma_buf_attach_adev() 82 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() 104 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dmabuf->priv); in amdgpu_dma_buf_pin() 144 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() 167 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() 262 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() 314 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() 346 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() 353 struct amdgpu_bo *other = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_create_obj() 392 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() [all …]
|
| H A D | amdgpu_hmm.c | 70 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_gfx() 107 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_hsa() 130 int amdgpu_hmm_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_hmm_register() 160 void amdgpu_hmm_unregister(struct amdgpu_bo *bo) in amdgpu_hmm_unregister()
|
| H A D | amdgpu_csa.c | 38 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, in amdgpu_allocate_static_csa() 54 void amdgpu_free_static_csa(struct amdgpu_bo **bo) in amdgpu_free_static_csa() 66 struct amdgpu_bo *bo, struct amdgpu_bo_va **bo_va, in amdgpu_map_static_csa() 106 struct amdgpu_bo *bo, struct amdgpu_bo_va *bo_va, in amdgpu_unmap_static_csa()
|
| H A D | amdgpu_amdkfd.h | 72 struct amdgpu_bo *bo; 196 void amdgpu_amdkfd_remove_all_eviction_fences(struct amdgpu_bo *bo); 199 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, 216 void amdgpu_amdkfd_remove_all_eviction_fences(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_all_eviction_fences() 227 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_bo_validate_and_fence() 322 int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart); 372 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo); 387 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify()
|
| H A D | amdgpu_vm.h | 201 struct amdgpu_bo *bo; 499 int (*callback)(void *p, struct amdgpu_bo *bo), 515 struct amdgpu_vm *vm, struct amdgpu_bo *bo); 526 bool amdgpu_vm_evictable(struct amdgpu_bo *bo); 527 void amdgpu_vm_bo_invalidate(struct amdgpu_bo *bo, bool evicted); 530 void amdgpu_vm_bo_update_shared(struct amdgpu_bo *bo); 531 void amdgpu_vm_bo_move(struct amdgpu_bo *bo, struct ttm_resource *new_mem, 535 struct amdgpu_bo *bo); 538 struct amdgpu_bo *bo); 607 bool amdgpu_vm_is_bo_always_valid(struct amdgpu_vm *vm, struct amdgpu_bo *bo);
|
| H A D | amdgpu_mes.h | 94 struct amdgpu_bo *ucode_fw_obj[AMDGPU_MAX_MES_PIPES]; 100 struct amdgpu_bo *data_fw_obj[AMDGPU_MAX_MES_PIPES]; 106 struct amdgpu_bo *eop_gpu_obj[AMDGPU_MAX_MES_PIPES]; 138 struct amdgpu_bo *event_log_gpu_obj; 146 struct amdgpu_bo *resource_1[AMDGPU_MAX_MES_PIPES]; 156 struct amdgpu_bo *proc_ctx_bo; 172 struct amdgpu_bo *gang_ctx_bo; 184 struct amdgpu_bo *mqd_obj;
|
| H A D | amdgpu_rlc.h | 262 struct amdgpu_bo *save_restore_obj; 268 struct amdgpu_bo *clear_state_obj; 274 struct amdgpu_bo *cp_table_obj; 325 struct amdgpu_bo *rlc_autoload_bo; 330 struct amdgpu_bo *rlc_toc_bo;
|
| H A D | amdgpu_job.h | 98 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, 99 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
|
| H A D | amdgpu_gfx.h | 103 struct amdgpu_bo *hpd_eop_obj; 105 struct amdgpu_bo *mec_fw_obj; 107 struct amdgpu_bo *mec_fw_data_obj; 159 struct amdgpu_bo *eop_obj; 323 struct amdgpu_bo *pfp_fw_obj; 327 struct amdgpu_bo *pfp_fw_data_obj; 333 struct amdgpu_bo *ce_fw_obj; 339 struct amdgpu_bo *me_fw_obj; 343 struct amdgpu_bo *me_fw_data_obj; 469 struct amdgpu_bo *cleaner_shader_obj;
|
| H A D | amdgpu_gem.c | 101 struct amdgpu_bo *bo; in amdgpu_gem_object_create() 117 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_gem_object_create() 161 struct amdgpu_bo *abo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_open() 227 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_close() 277 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_mmap() 423 struct amdgpu_bo *bo; in amdgpu_gem_userptr_ioctl() 500 struct amdgpu_bo *robj; in amdgpu_mode_dumb_mmap() 560 struct amdgpu_bo *robj; in amdgpu_gem_wait_idle_ioctl() 593 struct amdgpu_bo *robj; in amdgpu_gem_metadata_ioctl() 714 struct amdgpu_bo *abo; in amdgpu_gem_va_ioctl() [all …]
|
| H A D | amdgpu_amdkfd_gpuvm.c | 822 struct amdgpu_bo **bo) in kfd_mem_attach_dmabuf() 1041 struct amdgpu_bo *bo = mem->bo; in init_user_pages() 1135 struct amdgpu_bo *bo = mem->bo; in reserve_bo_and_vm() 1177 struct amdgpu_bo *bo = mem->bo; in reserve_bo_and_cond_vms() 1669 struct amdgpu_bo *bo; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1972 struct amdgpu_bo *bo; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 2182 int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart) in amdgpu_amdkfd_map_gtt_bo_to_gart() 2324 struct amdgpu_bo *bo; in import_obj_create() 2495 struct amdgpu_bo *bo; in update_invalid_user_pages() 2598 struct amdgpu_bo *bo; in validate_invalid_user_pages() [all …]
|
| H A D | amdgpu_cs.h | 76 struct amdgpu_bo *uf_bo; 85 uint64_t addr, struct amdgpu_bo **bo,
|
| H A D | amdgpu_gart.h | 33 struct amdgpu_bo; 43 struct amdgpu_bo *bo;
|
| H A D | amdgpu_umsch_mm.h | 145 struct amdgpu_bo *ucode_fw_obj; 152 struct amdgpu_bo *data_fw_obj; 158 struct amdgpu_bo *cmd_buf_obj; 177 struct amdgpu_bo *dbglog_bo;
|
| H A D | amdgpu_amdkfd.c | 299 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gtt_mem() 311 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gtt_mem() 369 struct amdgpu_bo **bo = (struct amdgpu_bo **) mem_obj; in amdgpu_amdkfd_free_gtt_mem() 381 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gws() 393 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gws() 409 struct amdgpu_bo *bo = (struct amdgpu_bo *)mem_obj; in amdgpu_amdkfd_free_gws() 510 struct amdgpu_bo *bo; in amdgpu_amdkfd_get_dmabuf_info()
|
| H A D | amdgpu_vm.c | 181 struct amdgpu_bo *bo = vm_bo->bo; in amdgpu_vm_bo_evicted() 325 struct amdgpu_bo *bo = base->bo; in amdgpu_vm_update_shared() 374 struct amdgpu_bo *bo = base->bo; in amdgpu_vm_update_stats_locked() 579 struct amdgpu_bo *bo; in amdgpu_vm_validate() 892 struct amdgpu_bo *bo) in amdgpu_vm_bo_find() 1707 struct amdgpu_bo *bo) in amdgpu_vm_bo_add() 1767 struct amdgpu_bo *bo, in amdgpu_vm_verify_parameters() 2121 struct amdgpu_bo *bo; in amdgpu_vm_bo_trace_cs() 2537 struct amdgpu_bo *root_bo; in amdgpu_vm_init() 2714 struct amdgpu_bo *root; in amdgpu_vm_fini() [all …]
|
| H A D | amdgpu_uvd.h | 41 struct amdgpu_bo *vcpu_bo; 71 struct amdgpu_bo *ib_bo;
|
| H A D | amdgpu_psp.h | 176 struct amdgpu_bo *shared_bo; 248 struct amdgpu_bo *c2p_bo; 331 struct amdgpu_bo *fw_pri_bo; 351 struct amdgpu_bo *tmr_bo; 364 struct amdgpu_bo *fence_buf_bo; 369 struct amdgpu_bo *cmd_buf_bo;
|
| /linux-6.15/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_priv.h | 371 struct amdgpu_bo *doorbells; 530 struct amdgpu_bo *wptr_bo; 531 struct amdgpu_bo *rptr_bo; 532 struct amdgpu_bo *ring_bo; 533 struct amdgpu_bo *eop_buf_bo; 534 struct amdgpu_bo *cwsr_bo; 617 struct amdgpu_bo *wptr_bo_gart; 703 struct amdgpu_bo *proc_doorbells; 1310 int kfd_queue_buffer_get(struct amdgpu_vm *vm, void __user *addr, struct amdgpu_bo **pbo, 1312 void kfd_queue_buffer_put(struct amdgpu_bo **bo); [all …]
|