/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.h | 94 struct amdgpu_bo { struct 106 struct amdgpu_bo *parent; argument 115 struct amdgpu_bo bo; argument 124 struct amdgpu_bo bo; 125 struct amdgpu_bo *shadow; 130 static inline struct amdgpu_bo *ttm_to_amdgpu_bo(struct ttm_buffer_object *tbo) in ttm_to_amdgpu_bo() 132 return container_of(tbo, struct amdgpu_bo, tbo); in ttm_to_amdgpu_bo() 171 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 185 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 190 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() [all …]
|
D | amdgpu_object.c | 57 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() 70 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() 81 struct amdgpu_bo *shadow_bo = ttm_to_amdgpu_bo(tbo), *bo; 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() 526 struct amdgpu_bo **bo_ptr) in amdgpu_bo_create() [all …]
|
D | amdgpu_ttm.h | 82 struct amdgpu_bo *stolen_vga_memory; 84 struct amdgpu_bo *stolen_extended_memory; 87 struct amdgpu_bo *stolen_reserved_memory; 94 struct amdgpu_bo *discovery_memory; 99 struct amdgpu_bo *fw_vram_usage_reserved_bo; 122 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo); 155 int amdgpu_fill_buffer(struct amdgpu_bo *bo, 165 int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, struct page **pages); 168 static inline int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, in amdgpu_ttm_tt_get_user_pages()
|
D | amdgpu_dma_buf.c | 57 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() 90 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() 107 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() 135 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() 158 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() 252 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() 305 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() 337 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() 344 struct amdgpu_bo *other = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_create_obj() 380 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() [all …]
|
D | amdgpu_mn.h | 41 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()
|
D | amdgpu_mn.c | 67 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()
|
D | amdgpu_bo_list.h | 30 struct amdgpu_bo; 46 struct amdgpu_bo *gds_obj; 47 struct amdgpu_bo *gws_obj; 48 struct amdgpu_bo *oa_obj;
|
D | amdgpu_rlc.h | 137 struct amdgpu_bo *save_restore_obj; 143 struct amdgpu_bo *clear_state_obj; 149 struct amdgpu_bo *cp_table_obj; 186 struct amdgpu_bo *rlc_autoload_bo; 191 struct amdgpu_bo *rlc_toc_bo;
|
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, 37 void amdgpu_free_static_csa(struct amdgpu_bo **bo);
|
D | amdgpu_amdkfd_gpuvm.c | 124 return __roundup_pow_of_two(sizeof(struct amdgpu_bo)) + in amdgpu_amdkfd_acc_size() 210 void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo) in amdgpu_amdkfd_unreserve_memory_limit() 234 static int amdgpu_amdkfd_remove_eviction_fence(struct amdgpu_bo *bo, in amdgpu_amdkfd_remove_eviction_fence() 287 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 289 struct amdgpu_bo *root = bo; in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 323 static int amdgpu_amdkfd_bo_validate(struct amdgpu_bo *bo, uint32_t domain, in amdgpu_amdkfd_bo_validate() 345 static int amdgpu_amdkfd_validate_vm_bo(void *_unused, struct amdgpu_bo *bo) in amdgpu_amdkfd_validate_vm_bo() 359 struct amdgpu_bo *pd = vm->root.bo; in vm_validate_pt_pd_bos() 390 struct amdgpu_bo *pd = vm->root.bo; in vm_update_pds() 473 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr() [all …]
|
D | amdgpu_gem.c | 87 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() 251 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_mmap() 360 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_create_ioctl() 387 struct amdgpu_bo *bo; in amdgpu_gem_userptr_ioctl() 463 struct amdgpu_bo *robj; in amdgpu_mode_dumb_mmap() 522 struct amdgpu_bo *robj; in amdgpu_gem_wait_idle_ioctl() [all …]
|
D | amdgpu_vm.h | 143 struct amdgpu_bo *bo; 390 int (*callback)(void *p, struct amdgpu_bo *bo), 412 bool amdgpu_vm_evictable(struct amdgpu_bo *bo); 414 struct amdgpu_bo *bo, bool evicted); 417 struct amdgpu_bo *bo); 420 struct amdgpu_bo *bo);
|
D | amdgpu_csa.c | 37 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()
|
D | amdgpu_vm.c | 270 struct amdgpu_bo *bo = vm_bo->bo; in amdgpu_vm_bo_evicted() 363 struct amdgpu_bo *bo) in amdgpu_vm_bo_base_init() 406 struct amdgpu_bo *parent = pt->bo->parent; in amdgpu_vm_pt_parent() 650 struct amdgpu_bo *abo; in amdgpu_vm_del_from_lru_notify() 695 struct amdgpu_bo *bo = bo_base->bo; in amdgpu_vm_move_to_lru_tail() 696 struct amdgpu_bo *shadow = amdgpu_bo_shadowed(bo); in amdgpu_vm_move_to_lru_tail() 727 int (*validate)(void *p, struct amdgpu_bo *bo), in amdgpu_vm_validate_pt_bos() 736 struct amdgpu_bo *bo = bo_base->bo; in amdgpu_vm_validate_pt_bos() 737 struct amdgpu_bo *shadow = amdgpu_bo_shadowed(bo); in amdgpu_vm_validate_pt_bos() 805 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_clear_bo() [all …]
|
D | amdgpu_gmc.h | 260 struct amdgpu_bo *pdb0_bo; 305 void amdgpu_gmc_get_pde_for_bo(struct amdgpu_bo *bo, int level, 310 uint64_t amdgpu_gmc_pd_addr(struct amdgpu_bo *bo); 339 uint64_t amdgpu_gmc_vram_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo); 340 uint64_t amdgpu_gmc_vram_cpu_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo);
|
D | amdgpu_mes.h | 57 struct amdgpu_bo *ucode_fw_obj; 64 struct amdgpu_bo *data_fw_obj; 71 struct amdgpu_bo *eop_gpu_obj;
|
D | amdgpu_gfx.h | 61 struct amdgpu_bo *hpd_eop_obj; 63 struct amdgpu_bo *mec_fw_obj; 108 struct amdgpu_bo *eop_obj; 246 struct amdgpu_bo *pfp_fw_obj; 252 struct amdgpu_bo *ce_fw_obj; 258 struct amdgpu_bo *me_fw_obj;
|
D | amdgpu_bo_list.c | 54 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() 144 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); in amdgpu_bo_list_create() 149 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()
|
D | amdgpu_psp.h | 140 struct amdgpu_bo *shared_bo; 205 struct amdgpu_bo *c2p_bo; 282 struct amdgpu_bo *fw_pri_bo; 299 struct amdgpu_bo *tmr_bo; 310 struct amdgpu_bo *fence_buf_bo; 315 struct amdgpu_bo *cmd_buf_bo;
|
D | amdgpu_amdkfd.c | 248 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gtt_mem() 260 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gtt_mem() 318 struct amdgpu_bo *bo = (struct amdgpu_bo *) mem_obj; in amdgpu_amdkfd_free_gtt_mem() 331 struct amdgpu_bo *bo = NULL; in amdgpu_amdkfd_alloc_gws() 343 bp.bo_ptr_size = sizeof(struct amdgpu_bo); in amdgpu_amdkfd_alloc_gws() 359 struct amdgpu_bo *bo = (struct amdgpu_bo *)mem_obj; in amdgpu_amdkfd_free_gws() 484 struct amdgpu_bo *bo; in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_fb.c | 108 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpufb_destroy_pinned_object() 127 struct amdgpu_bo *abo = NULL; in amdgpufb_create_pinned_object() 206 struct amdgpu_bo *abo = NULL; in amdgpufb_create() 371 struct amdgpu_bo *robj; in amdgpu_fbdev_total_size() 382 bool amdgpu_fbdev_robj_is_fb(struct amdgpu_device *adev, struct amdgpu_bo *robj) in amdgpu_fbdev_robj_is_fb()
|
D | amdgpu_amdkfd.h | 65 struct amdgpu_bo *bo; 173 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo); 189 int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo) in amdgpu_amdkfd_remove_fence_on_pt_pd_bos() 297 void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo); 312 void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo) in amdgpu_amdkfd_unreserve_memory_limit()
|
D | amdgpu_gart.h | 33 struct amdgpu_bo; 43 struct amdgpu_bo *bo;
|
D | amdgpu_trace.h | 117 TP_PROTO(struct amdgpu_bo *bo), 120 __field(struct amdgpu_bo *, bo) 248 __field(struct amdgpu_bo *, bo) 272 __field(struct amdgpu_bo *, bo) 460 TP_PROTO(struct amdgpu_bo_list *list, struct amdgpu_bo *bo), 464 __field(struct amdgpu_bo *, bo) 496 TP_PROTO(struct amdgpu_bo* bo, uint32_t new_placement, uint32_t old_placement), 499 __field(struct amdgpu_bo *, bo)
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.h | 68 struct amdgpu_bo; 87 struct amdgpu_bo *bo_ptr; 169 struct amdgpu_bo *bo; 295 struct amdgpu_bo *dmub_bo;
|