/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
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; 169 static inline struct amdgpu_bo *ttm_to_amdgpu_bo(struct ttm_buffer_object *tbo) in ttm_to_amdgpu_bo() 171 return container_of(tbo, struct amdgpu_bo, tbo); in ttm_to_amdgpu_bo() 212 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 226 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 231 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() 236 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages() [all …]
|
D | amdgpu_ttm.h | 74 struct amdgpu_bo *stolen_vga_memory; 76 struct amdgpu_bo *stolen_extended_memory; 79 struct amdgpu_bo *stolen_reserved_memory; 87 struct amdgpu_bo *fw_reserved_memory; 92 struct amdgpu_bo *fw_vram_usage_reserved_bo; 98 struct amdgpu_bo *drv_vram_usage_reserved_bo; 102 struct amdgpu_bo *sdma_access_bo; 139 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo); 173 int amdgpu_ttm_clear_buffer(struct amdgpu_bo *bo, 176 int amdgpu_fill_buffer(struct amdgpu_bo *bo, [all …]
|
D | amdgpu_object.c | 59 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() 72 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() 107 void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_bo_placement_from_domain() 237 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved() 258 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_bo_create_reserved() 333 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_kernel() 366 struct amdgpu_bo **bo_ptr, void **cpu_addr) in amdgpu_bo_create_kernel_at() 426 void amdgpu_bo_free_kernel(struct amdgpu_bo **bo, u64 *gpu_addr, in amdgpu_bo_free_kernel() 528 struct amdgpu_bo **bo_ptr) in amdgpu_bo_create() 538 struct amdgpu_bo *bo; in amdgpu_bo_create() [all …]
|
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;
|
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()
|
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);
|
D | amdgpu_dma_buf.c | 57 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() 76 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() 92 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() 115 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() 208 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() 260 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() 292 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() 299 struct amdgpu_bo *other = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_create_obj() 338 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() 454 struct amdgpu_bo *bo) in amdgpu_dmabuf_is_xgmi_accessible()
|
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()
|
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()
|
D | amdgpu_amdkfd.h | 71 struct amdgpu_bo *bo; 195 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo); 198 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, 215 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 227 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_bo_validate_and_fence() 327 int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_bo *bo, struct amdgpu_bo **bo_gart); 377 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo); 392 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify()
|
D | amdgpu_mes.h | 92 struct amdgpu_bo *ucode_fw_obj[AMDGPU_MAX_MES_PIPES]; 98 struct amdgpu_bo *data_fw_obj[AMDGPU_MAX_MES_PIPES]; 104 struct amdgpu_bo *eop_gpu_obj[AMDGPU_MAX_MES_PIPES]; 139 struct amdgpu_bo *event_log_gpu_obj; 147 struct amdgpu_bo *resource_1; 157 struct amdgpu_bo *proc_ctx_bo; 173 struct amdgpu_bo *gang_ctx_bo; 185 struct amdgpu_bo *mqd_obj;
|
D | amdgpu_gfx.h | 100 struct amdgpu_bo *hpd_eop_obj; 102 struct amdgpu_bo *mec_fw_obj; 104 struct amdgpu_bo *mec_fw_data_obj; 156 struct amdgpu_bo *eop_obj; 320 struct amdgpu_bo *pfp_fw_obj; 324 struct amdgpu_bo *pfp_fw_data_obj; 330 struct amdgpu_bo *ce_fw_obj; 336 struct amdgpu_bo *me_fw_obj; 340 struct amdgpu_bo *me_fw_data_obj; 464 struct amdgpu_bo *cleaner_shader_obj;
|
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;
|
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);
|
D | amdgpu_amdkfd_gpuvm.c | 293 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify() 316 struct kgd_mem *mem, struct amdgpu_bo **bo_out) in create_dmamap_sg_bo() 355 static int amdgpu_amdkfd_remove_eviction_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_remove_eviction_fence() 373 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 375 struct amdgpu_bo *root = bo; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 409 static int amdgpu_amdkfd_bo_validate(struct amdgpu_bo *bo, uint32_t domain, in amdgpu_amdkfd_bo_validate() 435 int amdgpu_amdkfd_bo_validate_and_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_bo_validate_and_fence() 461 static int amdgpu_amdkfd_validate_vm_bo(void *_unused, struct amdgpu_bo *bo) in amdgpu_amdkfd_validate_vm_bo() 476 struct amdgpu_bo *pd = vm->root.bo; in vm_validate_pt_pd_bos() 494 struct amdgpu_bo *pd = vm->root.bo; in vm_update_pds() [all …]
|
D | amdgpu_gem.c | 88 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_object_free() 102 struct amdgpu_bo *bo; in amdgpu_gem_object_create() 118 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_gem_object_create() 162 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() 276 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_mmap() 393 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_create_ioctl() 422 struct amdgpu_bo *bo; in amdgpu_gem_userptr_ioctl() 499 struct amdgpu_bo *robj; in amdgpu_mode_dumb_mmap() 559 struct amdgpu_bo *robj; in amdgpu_gem_wait_idle_ioctl() [all …]
|
D | amdgpu_vm.h | 201 struct amdgpu_bo *bo; 490 int (*callback)(void *p, struct amdgpu_bo *bo), 506 struct amdgpu_vm *vm, struct amdgpu_bo *bo); 517 bool amdgpu_vm_evictable(struct amdgpu_bo *bo); 519 struct amdgpu_bo *bo, bool evicted); 522 struct amdgpu_bo *bo); 525 struct amdgpu_bo *bo); 594 bool amdgpu_vm_is_bo_always_valid(struct amdgpu_vm *vm, struct amdgpu_bo *bo);
|
D | amdgpu_cs.h | 76 struct amdgpu_bo *uf_bo; 85 uint64_t addr, struct amdgpu_bo **bo,
|
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;
|
D | amdgpu_gart.h | 33 struct amdgpu_bo; 43 struct amdgpu_bo *bo;
|
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()
|
D | amdgpu_gmc.h | 315 struct amdgpu_bo *pdb0_bo; 402 void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level, 407 uint64_t amdgpu_gmc_pd_addr(struct amdgpu_bo *bo); 449 uint64_t amdgpu_gmc_vram_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo); 450 uint64_t amdgpu_gmc_vram_cpu_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo);
|
D | amdgpu_trace.h | 117 TP_PROTO(struct amdgpu_bo *bo), 120 __field(struct amdgpu_bo *, bo) 250 __field(struct amdgpu_bo *, bo) 274 __field(struct amdgpu_bo *, bo) 461 TP_PROTO(struct amdgpu_bo_list *list, struct amdgpu_bo *bo), 465 __field(struct amdgpu_bo *, bo) 497 TP_PROTO(struct amdgpu_bo *bo, uint32_t new_placement, uint32_t old_placement), 500 __field(struct amdgpu_bo *, bo)
|
D | amdgpu_uvd.h | 41 struct amdgpu_bo *vcpu_bo; 71 struct amdgpu_bo *ib_bo;
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_priv.h | 370 struct amdgpu_bo *doorbells; 529 struct amdgpu_bo *wptr_bo; 530 struct amdgpu_bo *rptr_bo; 531 struct amdgpu_bo *ring_bo; 532 struct amdgpu_bo *eop_buf_bo; 533 struct amdgpu_bo *cwsr_bo; 616 struct amdgpu_bo *wptr_bo_gart; 702 struct amdgpu_bo *proc_doorbells; 1307 int kfd_queue_buffer_get(struct amdgpu_vm *vm, void __user *addr, struct amdgpu_bo **pbo, 1309 void kfd_queue_buffer_put(struct amdgpu_bo **bo); [all …]
|