Home
last modified time | relevance | path

Searched refs:amdgpu_bo (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_object.h93 struct amdgpu_bo { struct
105 struct amdgpu_bo *parent; argument
114 struct amdgpu_bo bo; argument
123 struct amdgpu_bo bo;
124 struct amdgpu_bo *shadow;
129 static inline struct amdgpu_bo *ttm_to_amdgpu_bo(struct ttm_buffer_object *tbo) in ttm_to_amdgpu_bo()
131 return container_of(tbo, struct amdgpu_bo, tbo); in ttm_to_amdgpu_bo()
170 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve()
184 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve()
189 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size()
[all …]
Damdgpu_ttm.h69 struct amdgpu_bo *stolen_vga_memory;
71 struct amdgpu_bo *stolen_extended_memory;
74 struct amdgpu_bo *stolen_reserved_memory;
81 struct amdgpu_bo *discovery_memory;
86 struct amdgpu_bo *fw_vram_usage_reserved_bo;
90 struct amdgpu_bo *sdma_access_bo;
112 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo);
144 int amdgpu_fill_buffer(struct amdgpu_bo *bo,
154 int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, struct page **pages,
159 static inline int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, in amdgpu_ttm_tt_get_user_pages()
Damdgpu_object.c58 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy()
71 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy()
82 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_vm_destroy()
124 void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_bo_placement_from_domain()
230 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved()
251 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_bo_create_reserved()
326 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_kernel()
360 struct amdgpu_bo **bo_ptr, void **cpu_addr) in amdgpu_bo_create_kernel_at()
419 void amdgpu_bo_free_kernel(struct amdgpu_bo **bo, u64 *gpu_addr, in amdgpu_bo_free_kernel()
524 struct amdgpu_bo **bo_ptr) in amdgpu_bo_create()
[all …]
Damdgpu_mn.h41 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr);
42 void amdgpu_mn_unregister(struct amdgpu_bo *bo);
44 static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_mn_register()
50 static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} in amdgpu_mn_unregister()
Damdgpu_dma_buf.c57 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach()
87 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach()
104 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin()
120 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin()
143 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map()
237 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access()
290 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export()
322 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj()
329 struct amdgpu_bo *other = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_create_obj()
365 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify()
[all …]
Damdgpu_mn.c67 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_mn_invalidate_gfx()
104 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_mn_invalidate_hsa()
133 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_mn_register()
151 void amdgpu_mn_unregister(struct amdgpu_bo *bo) in amdgpu_mn_unregister()
Damdgpu_bo_list.h32 struct amdgpu_bo;
48 struct amdgpu_bo *gds_obj;
49 struct amdgpu_bo *gws_obj;
50 struct amdgpu_bo *oa_obj;
Damdgpu_csa.h32 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo,
35 struct amdgpu_bo *bo, struct amdgpu_bo_va **bo_va,
37 void amdgpu_free_static_csa(struct amdgpu_bo **bo);
Damdgpu_gfx.h56 struct amdgpu_bo *hpd_eop_obj;
58 struct amdgpu_bo *mec_fw_obj;
60 struct amdgpu_bo *mec_fw_data_obj;
106 struct amdgpu_bo *eop_obj;
239 struct amdgpu_bo *pfp_fw_obj;
243 struct amdgpu_bo *pfp_fw_data_obj;
249 struct amdgpu_bo *ce_fw_obj;
255 struct amdgpu_bo *me_fw_obj;
259 struct amdgpu_bo *me_fw_data_obj;
Damdgpu_rlc.h186 struct amdgpu_bo *save_restore_obj;
192 struct amdgpu_bo *clear_state_obj;
198 struct amdgpu_bo *cp_table_obj;
249 struct amdgpu_bo *rlc_autoload_bo;
254 struct amdgpu_bo *rlc_toc_bo;
Damdgpu_amdkfd_gpuvm.c230 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify()
251 struct kgd_mem *mem, struct amdgpu_bo **bo_out) in create_dmamap_sg_bo()
286 static int amdgpu_amdkfd_remove_eviction_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_remove_eviction_fence()
304 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
306 struct amdgpu_bo *root = bo; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
340 static int amdgpu_amdkfd_bo_validate(struct amdgpu_bo *bo, uint32_t domain, in amdgpu_amdkfd_bo_validate()
362 static int amdgpu_amdkfd_validate_vm_bo(void *_unused, struct amdgpu_bo *bo) in amdgpu_amdkfd_validate_vm_bo()
376 struct amdgpu_bo *pd = vm->root.bo; in vm_validate_pt_pd_bos()
393 struct amdgpu_bo *pd = vm->root.bo; in vm_update_pds()
505 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr()
[all …]
Damdgpu_job.h85 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
86 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
Damdgpu_csa.c37 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, in amdgpu_allocate_static_csa()
53 void amdgpu_free_static_csa(struct amdgpu_bo **bo) in amdgpu_free_static_csa()
65 struct amdgpu_bo *bo, struct amdgpu_bo_va **bo_va, in amdgpu_map_static_csa()
Damdgpu_mes.h91 struct amdgpu_bo *ucode_fw_obj[AMDGPU_MAX_MES_PIPES];
98 struct amdgpu_bo *data_fw_obj[AMDGPU_MAX_MES_PIPES];
105 struct amdgpu_bo *eop_gpu_obj[AMDGPU_MAX_MES_PIPES];
141 struct amdgpu_bo *proc_ctx_bo;
158 struct amdgpu_bo *gang_ctx_bo;
170 struct amdgpu_bo *mqd_obj;
Damdgpu_vm.h143 struct amdgpu_bo *bo;
398 int (*callback)(void *p, struct amdgpu_bo *bo),
409 struct amdgpu_vm *vm, struct amdgpu_bo *bo);
419 bool amdgpu_vm_evictable(struct amdgpu_bo *bo);
421 struct amdgpu_bo *bo, bool evicted);
424 struct amdgpu_bo *bo);
427 struct amdgpu_bo *bo);
Damdgpu_gem.c87 struct amdgpu_bo *robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_object_free()
101 struct amdgpu_bo *bo; in amdgpu_gem_object_create()
116 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_gem_object_create()
160 struct amdgpu_bo *abo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_open()
193 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_close()
245 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_mmap()
354 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_create_ioctl()
382 struct amdgpu_bo *bo; in amdgpu_gem_userptr_ioctl()
459 struct amdgpu_bo *robj; in amdgpu_mode_dumb_mmap()
518 struct amdgpu_bo *robj; in amdgpu_gem_wait_idle_ioctl()
[all …]
Damdgpu_amdkfd.h66 struct amdgpu_bo *bo;
182 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo);
198 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos()
295 int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_device *adev, struct amdgpu_bo *bo);
329 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo);
344 void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo) in amdgpu_amdkfd_release_notify()
Damdgpu_vm_pt.c154 struct amdgpu_bo *parent = pt->bo->parent; in amdgpu_vm_pt_parent()
381 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear()
383 struct amdgpu_bo *bo = &vmbo->bo; in amdgpu_vm_pt_clear()
424 struct amdgpu_bo *shadow = vmbo->shadow; in amdgpu_vm_pt_clear()
506 struct amdgpu_bo *bo; in amdgpu_vm_pt_create()
555 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_vm_pt_create()
593 struct amdgpu_bo *pt_bo; in amdgpu_vm_pt_alloc()
631 struct amdgpu_bo *shadow; in amdgpu_vm_pt_free()
757 struct amdgpu_bo *bo = parent->bo, *pbo; in amdgpu_vm_pde_update()
895 struct amdgpu_bo *pt; in amdgpu_vm_ptes_update()
Damdgpu_amdkfd.c279 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gtt_mem()
291 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gtt_mem()
349 struct amdgpu_bo *bo = (struct amdgpu_bo *) mem_obj; in amdgpu_amdkfd_free_gtt_mem()
361 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gws()
373 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gws()
389 struct amdgpu_bo *bo = (struct amdgpu_bo *)mem_obj; in amdgpu_amdkfd_free_gws()
504 struct amdgpu_bo *bo; in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_bo_list.c54 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); in amdgpu_bo_list_free()
95 struct amdgpu_bo *bo; in amdgpu_bo_list_create()
145 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); in amdgpu_bo_list_create()
150 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); in amdgpu_bo_list_create()
205 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); in amdgpu_bo_list_get_list()
Damdgpu_gmc.h259 struct amdgpu_bo *pdb0_bo;
335 void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level,
340 uint64_t amdgpu_gmc_pd_addr(struct amdgpu_bo *bo);
370 uint64_t amdgpu_gmc_vram_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo);
371 uint64_t amdgpu_gmc_vram_cpu_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo);
Damdgpu_gart.h33 struct amdgpu_bo;
43 struct amdgpu_bo *bo;
Damdgpu_psp.h161 struct amdgpu_bo *shared_bo;
231 struct amdgpu_bo *c2p_bo;
314 struct amdgpu_bo *fw_pri_bo;
332 struct amdgpu_bo *tmr_bo;
345 struct amdgpu_bo *fence_buf_bo;
350 struct amdgpu_bo *cmd_buf_bo;
Damdgpu_uvd.h41 struct amdgpu_bo *vcpu_bo;
71 struct amdgpu_bo *ib_bo;
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ !
Damdgpu_dm.h69 struct amdgpu_bo;
88 struct amdgpu_bo *bo_ptr;
170 struct amdgpu_bo *bo;
303 struct amdgpu_bo *dmub_bo;

1234