Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h60 struct amdgpu_bo { struct
79 struct amdgpu_bo *parent; argument
80 struct amdgpu_bo *shadow; argument
127 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve()
141 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve()
146 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size()
151 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages()
156 static inline unsigned amdgpu_bo_gpu_page_alignment(struct amdgpu_bo *bo) in amdgpu_bo_gpu_page_alignment()
167 static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) in amdgpu_bo_mmap_offset()
176 static inline bool amdgpu_bo_gpu_accessible(struct amdgpu_bo *bo) in amdgpu_bo_gpu_accessible()
[all …]
Damdgpu_object.c43 struct amdgpu_bo *bo; in amdgpu_ttm_bo_destroy()
45 bo = container_of(tbo, struct amdgpu_bo, tbo); in amdgpu_ttm_bo_destroy()
156 void amdgpu_ttm_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_ttm_placement_from_domain()
164 static void amdgpu_fill_placement_to_bo(struct amdgpu_bo *bo, in amdgpu_fill_placement_to_bo()
195 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved()
263 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_kernel()
286 void amdgpu_bo_free_kernel(struct amdgpu_bo **bo, u64 *gpu_addr, in amdgpu_bo_free_kernel()
315 struct amdgpu_bo **bo_ptr) in amdgpu_bo_create_restricted()
317 struct amdgpu_bo *bo; in amdgpu_bo_create_restricted()
337 sizeof(struct amdgpu_bo)); in amdgpu_bo_create_restricted()
[all …]
Damdgpu_prime.c34 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_get_sg_table()
42 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vmap()
55 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vunmap()
67 struct amdgpu_bo *bo; in amdgpu_gem_prime_import_sg_table()
83 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_pin()
113 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_unpin()
128 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_res_obj()
137 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export()
Damdgpu_gds.h35 struct amdgpu_bo;
52 struct amdgpu_bo* gds_gfx_bo;
53 struct amdgpu_bo* gws_gfx_bo;
54 struct amdgpu_bo* oa_gfx_bo;
Damdgpu_psp.h79 struct amdgpu_bo *fw_pri_bo;
93 struct amdgpu_bo *tmr_bo;
103 struct amdgpu_bo *asd_shared_bo;
108 struct amdgpu_bo *fence_buf_bo;
113 struct amdgpu_bo *cmd_buf_bo;
Damdgpu_vm.h101 struct amdgpu_bo *bo;
111 struct amdgpu_bo *bo;
229 int (*callback)(void *p, struct amdgpu_bo *bo),
252 struct amdgpu_bo *bo);
254 struct amdgpu_bo *bo);
257 struct amdgpu_bo *bo);
Damdgpu_gem.c36 struct amdgpu_bo *robj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_object_free()
49 struct amdgpu_bo *robj; in amdgpu_gem_object_create()
108 struct amdgpu_bo *abo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_open()
128 static int amdgpu_gem_vm_check(void *param, struct amdgpu_bo *bo) in amdgpu_gem_vm_check()
148 struct amdgpu_bo *bo = in amdgpu_gem_vm_ready()
149 container_of(entry->bo, struct amdgpu_bo, tbo); in amdgpu_gem_vm_ready()
160 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_object_close()
277 struct amdgpu_bo *bo; in amdgpu_gem_userptr_ioctl()
364 struct amdgpu_bo *robj; in amdgpu_mode_dumb_mmap()
423 struct amdgpu_bo *robj; in amdgpu_gem_wait_idle_ioctl()
[all …]
Damdgpu.h381 #define gem_to_amdgpu_bo(gobj) container_of((gobj), struct amdgpu_bo, gem_base)
432 struct amdgpu_bo *bo;
646 struct amdgpu_bo *old_abo;
763 struct amdgpu_bo *robj;
775 struct amdgpu_bo *gds_obj;
776 struct amdgpu_bo *gws_obj;
777 struct amdgpu_bo *oa_obj;
802 struct amdgpu_bo *save_restore_obj;
808 struct amdgpu_bo *clear_state_obj;
814 struct amdgpu_bo *cp_table_obj;
[all …]
Damdgpu_trace.h150 TP_PROTO(struct amdgpu_bo *bo),
153 __field(struct amdgpu_bo *, bo)
280 __field(struct amdgpu_bo *, bo)
304 __field(struct amdgpu_bo *, bo)
416 TP_PROTO(struct amdgpu_bo_list *list, struct amdgpu_bo *bo),
420 __field(struct amdgpu_bo *, bo)
452 TP_PROTO(struct amdgpu_bo* bo, uint32_t new_placement, uint32_t old_placement),
455 __field(struct amdgpu_bo *, bo)
Damdgpu_fb.c112 struct amdgpu_bo *abo = gem_to_amdgpu_bo(gobj); in amdgpufb_destroy_pinned_object()
130 struct amdgpu_bo *abo = NULL; in amdgpufb_create_pinned_object()
202 struct amdgpu_bo *abo = NULL; in amdgpufb_create()
381 struct amdgpu_bo *robj; in amdgpu_fbdev_total_size()
392 bool amdgpu_fbdev_robj_is_fb(struct amdgpu_device *adev, struct amdgpu_bo *robj) in amdgpu_fbdev_robj_is_fb()
Damdgpu_mn.c74 struct amdgpu_bo *bo, *next_bo; in amdgpu_mn_destroy()
121 struct amdgpu_bo *bo; in amdgpu_mn_invalidate_node()
255 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_mn_register()
311 void amdgpu_mn_unregister(struct amdgpu_bo *bo) in amdgpu_mn_unregister()
Damdgpu_gart.h33 struct amdgpu_bo;
43 struct amdgpu_bo *robj;
Damdgpu_ttm.h67 u64 amdgpu_vram_mgr_bo_invisible_size(struct amdgpu_bo *bo);
76 int amdgpu_fill_buffer(struct amdgpu_bo *bo,
Damdgpu_cgs.c55 struct amdgpu_bo *obj; in amdgpu_cgs_alloc_gpu_mem()
139 struct amdgpu_bo *obj = (struct amdgpu_bo *)handle; in amdgpu_cgs_free_gpu_mem()
159 struct amdgpu_bo *obj = (struct amdgpu_bo *)handle; in amdgpu_cgs_gmap_gpu_mem()
178 struct amdgpu_bo *obj = (struct amdgpu_bo *)handle; in amdgpu_cgs_gunmap_gpu_mem()
191 struct amdgpu_bo *obj = (struct amdgpu_bo *)handle; in amdgpu_cgs_kmap_gpu_mem()
203 struct amdgpu_bo *obj = (struct amdgpu_bo *)handle; in amdgpu_cgs_kunmap_gpu_mem()
Damdgpu_cs.c338 struct amdgpu_bo *bo) in amdgpu_cs_bo_validate()
391 struct amdgpu_bo *validated) in amdgpu_cs_try_evict()
403 struct amdgpu_bo *bo = candidate->robj; in amdgpu_cs_try_evict()
454 static int amdgpu_cs_validate(void *param, struct amdgpu_bo *bo) in amdgpu_cs_validate()
478 struct amdgpu_bo *bo = lobj->robj; in amdgpu_cs_list_validate()
654 struct amdgpu_bo *gds = p->bo_list->gds_obj; in amdgpu_cs_parser_bos()
655 struct amdgpu_bo *gws = p->bo_list->gws_obj; in amdgpu_cs_parser_bos()
656 struct amdgpu_bo *oa = p->bo_list->oa_obj; in amdgpu_cs_parser_bos()
661 struct amdgpu_bo *bo = p->bo_list->array[i].robj; in amdgpu_cs_parser_bos()
681 struct amdgpu_bo *uf = p->uf_entry.robj; in amdgpu_cs_parser_bos()
[all …]
Damdgpu_bo_list.c112 struct amdgpu_bo *gds_obj = adev->gds.gds_gfx_bo; in amdgpu_bo_list_set()
113 struct amdgpu_bo *gws_obj = adev->gds.gws_gfx_bo; in amdgpu_bo_list_set()
114 struct amdgpu_bo *oa_obj = adev->gds.oa_gfx_bo; in amdgpu_bo_list_set()
129 struct amdgpu_bo *bo; in amdgpu_bo_list_set()
Damdgpu_virt.h34 struct amdgpu_bo *bo;
52 struct amdgpu_bo *csa_obj;
Damdgpu_benchmark.c76 struct amdgpu_bo *dobj = NULL; in amdgpu_benchmark_move()
77 struct amdgpu_bo *sobj = NULL; in amdgpu_benchmark_move()
Damdgpu_uvd.c379 static void amdgpu_uvd_force_into_uvd_segment(struct amdgpu_bo *abo) in amdgpu_uvd_force_into_uvd_segment()
411 struct amdgpu_bo *bo; in amdgpu_uvd_cs_pass1()
641 struct amdgpu_bo *bo, unsigned offset) in amdgpu_uvd_cs_msg()
737 struct amdgpu_bo *bo; in amdgpu_uvd_cs_pass2()
952 static int amdgpu_uvd_send_msg(struct amdgpu_ring *ring, struct amdgpu_bo *bo, in amdgpu_uvd_send_msg()
1053 struct amdgpu_bo *bo; in amdgpu_uvd_get_create_msg()
1103 struct amdgpu_bo *bo; in amdgpu_uvd_get_destroy_msg()
Damdgpu_test.c34 struct amdgpu_bo *vram_obj = NULL; in amdgpu_do_test_moves()
35 struct amdgpu_bo **gtt_obj = NULL; in amdgpu_do_test_moves()
Damdgpu_vm.c161 int (*validate)(void *, struct amdgpu_bo *), in amdgpu_vm_validate_level() argument
217 int (*validate)(void *p, struct amdgpu_bo *bo), in amdgpu_vm_validate_pt_bos()
299 struct amdgpu_bo *pt; in amdgpu_vm_alloc_levels()
861 struct amdgpu_bo *bo) in amdgpu_vm_bo_find()
1013 struct amdgpu_bo *shadow; in amdgpu_vm_update_level()
1069 struct amdgpu_bo *bo = parent->entries[pt_idx].bo; in amdgpu_vm_update_level()
1339 struct amdgpu_bo *pt; in amdgpu_vm_update_ptes()
1727 struct amdgpu_bo *bo = bo_va->base.bo; in amdgpu_vm_bo_update()
2029 struct amdgpu_bo *bo) in amdgpu_vm_bo_add()
2072 struct amdgpu_bo *bo = bo_va->base.bo; in amdgpu_vm_bo_map()
[all …]
Damdgpu_ring.h159 struct amdgpu_bo *ring_obj;
175 struct amdgpu_bo *mqd_obj;
Damdgpu_vcn.h49 struct amdgpu_bo *vcpu_bo;
Damdgpu_amdkfd.h36 struct amdgpu_bo *bo;
Damdgpu_ih.h76 struct amdgpu_bo *ring_obj;

12