/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.h | 95 struct amdgpu_bo { struct 107 struct amdgpu_bo *parent; 123 struct amdgpu_bo bo; 132 struct amdgpu_bo bo; 133 struct amdgpu_bo *shadow; 159 static inline struct amdgpu_bo *ttm_to_amdgpu_bo(struct ttm_buffer_object *tbo) in ttm_to_amdgpu_bo() 161 return container_of(tbo, struct amdgpu_bo, tbo); in ttm_to_amdgpu_bo() 202 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 216 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 221 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *b [all...] |
H A D | amdgpu_ttm.h | 76 struct amdgpu_bo *stolen_vga_memory; 78 struct amdgpu_bo *stolen_extended_memory; 81 struct amdgpu_bo *stolen_reserved_memory; 89 struct amdgpu_bo *fw_reserved_memory; 94 struct amdgpu_bo *fw_vram_usage_reserved_bo; 100 struct amdgpu_bo *drv_vram_usage_reserved_bo; 104 struct amdgpu_bo *sdma_access_bo; 126 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo); 158 int amdgpu_fill_buffer(struct amdgpu_bo *bo, 169 int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *b [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 | 46 * This defines the interfaces to operate on an &amdgpu_bo buffer object which 58 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 *shadow_bo = ttm_to_amdgpu_bo(tbo), *bo; in amdgpu_bo_vm_destroy() 98 * amdgpu_bo_is_amdgpu_bo - check if the buffer object is an &amdgpu_bo 102 * an &amdgpu_bo. 105 * true if the object belongs to &amdgpu_bo, false if not. 119 * @abo: &amdgpu_bo buffer object whose placement is to be set 125 void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_bo_placement_from_domain() 249 u32 domain, struct amdgpu_bo **bo_pt in amdgpu_bo_create_reserved() [all...] |
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_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_dma_buf.c | 58 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() 88 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() 105 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() 121 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() 144 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() 238 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() 291 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() 323 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() 330 struct amdgpu_bo *other = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_create_obj() 368 struct amdgpu_bo *b 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() 148 void amdgpu_hmm_unregister(struct amdgpu_bo *bo) in amdgpu_hmm_unregister()
|
H A D | amdgpu_rlc.h | 188 struct amdgpu_bo *save_restore_obj; 194 struct amdgpu_bo *clear_state_obj; 200 struct amdgpu_bo *cp_table_obj; 251 struct amdgpu_bo *rlc_autoload_bo; 256 struct amdgpu_bo *rlc_toc_bo;
|
H A D | amdgpu_csa.c | 39 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, in amdgpu_allocate_static_csa() 55 void amdgpu_free_static_csa(struct amdgpu_bo **bo) in amdgpu_free_static_csa() 67 struct amdgpu_bo *bo, struct amdgpu_bo_va **bo_va, in amdgpu_map_static_csa() 107 struct amdgpu_bo *bo, struct amdgpu_bo_va *bo_va, in amdgpu_unmap_static_csa()
|
H A D | amdgpu_job.h | 95 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, 96 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
|
H A D | amdgpu_gfx.h | 104 struct amdgpu_bo *hpd_eop_obj; 106 struct amdgpu_bo *mec_fw_obj; 108 struct amdgpu_bo *mec_fw_data_obj; 156 struct amdgpu_bo *eop_obj; 314 struct amdgpu_bo *pfp_fw_obj; 318 struct amdgpu_bo *pfp_fw_data_obj; 324 struct amdgpu_bo *ce_fw_obj; 330 struct amdgpu_bo *me_fw_obj; 334 struct amdgpu_bo *me_fw_data_obj;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.h | 83 struct amdgpu_bo { struct 101 struct amdgpu_bo *parent; 102 struct amdgpu_bo *shadow; 117 static inline struct amdgpu_bo *ttm_to_amdgpu_bo(struct ttm_buffer_object *tbo) in ttm_to_amdgpu_bo() 119 return container_of(tbo, struct amdgpu_bo, tbo); in ttm_to_amdgpu_bo() 158 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 172 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 177 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() 182 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages() 187 static inline unsigned amdgpu_bo_gpu_page_alignment(struct amdgpu_bo *b [all...] |
H A 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()
|
H A D | amdgpu_ttm.h | 78 struct amdgpu_bo *stolen_vga_memory; 80 struct amdgpu_bo *stolen_extended_memory; 86 struct amdgpu_bo *discovery_memory; 91 struct amdgpu_bo *fw_vram_usage_reserved_bo; 110 u64 amdgpu_vram_mgr_bo_visible_size(struct amdgpu_bo *bo); 140 int amdgpu_fill_buffer(struct amdgpu_bo *bo, 151 int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, struct page **pages); 154 static inline int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, in amdgpu_ttm_tt_get_user_pages()
|
H A D | amdgpu_mn.h | 34 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr); 35 void amdgpu_mn_unregister(struct amdgpu_bo *bo); 37 static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_mn_register() 43 static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} in amdgpu_mn_unregister()
|
H A D | amdgpu_object.c | 45 * This defines the interfaces to operate on an &amdgpu_bo buffer object which 58 * @bo: &amdgpu_bo buffer object 63 static void amdgpu_bo_subtract_pin_size(struct amdgpu_bo *bo) in amdgpu_bo_subtract_pin_size() 79 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() 102 * amdgpu_bo_is_amdgpu_bo - check if the buffer object is an &amdgpu_bo 106 * an &amdgpu_bo. 109 * true if the object belongs to &amdgpu_bo, false if not. 120 * @abo: &amdgpu_bo buffer object whose placement is to be set 126 void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_bo_placement_from_domain() 240 u32 domain, struct amdgpu_bo **bo_pt in amdgpu_bo_create_reserved() [all...] |
H A D | amdgpu_psp.h | 131 struct amdgpu_bo *xgmi_shared_bo; 141 struct amdgpu_bo *ras_shared_bo; 150 struct amdgpu_bo *hdcp_shared_bo; 159 struct amdgpu_bo *dtm_shared_bo; 168 struct amdgpu_bo *rap_shared_bo; 212 struct amdgpu_bo *c2p_bo; 227 struct amdgpu_bo *fw_pri_bo; 247 struct amdgpu_bo *tmr_bo; 258 struct amdgpu_bo *fence_buf_bo; 263 struct amdgpu_bo *cmd_buf_b [all...] |
H A D | amdgpu_dma_buf.c | 55 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vmap() 75 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vunmap() 94 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_mmap() 180 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() 223 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() 240 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() 268 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() 291 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() 362 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unmap() 389 struct amdgpu_bo *b in amdgpu_dma_buf_begin_cpu_access() [all...] |
H A D | amdgpu_bo_list.h | 30 struct amdgpu_bo; 45 struct amdgpu_bo *gds_obj; 46 struct amdgpu_bo *gws_obj; 47 struct amdgpu_bo *oa_obj;
|
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, 37 void amdgpu_free_static_csa(struct amdgpu_bo **bo);
|
H A D | amdgpu_rlc.h | 136 struct amdgpu_bo *save_restore_obj; 142 struct amdgpu_bo *clear_state_obj; 148 struct amdgpu_bo *cp_table_obj; 185 struct amdgpu_bo *rlc_autoload_bo; 190 struct amdgpu_bo *rlc_toc_bo;
|
H A D | amdgpu_vm.h | 142 struct amdgpu_bo *bo; 237 int (*map_table)(struct amdgpu_bo *bo); 241 struct amdgpu_bo *bo, uint64_t pe, uint64_t addr, 385 int (*callback)(void *p, struct amdgpu_bo *bo), 398 bool amdgpu_vm_evictable(struct amdgpu_bo *bo); 400 struct amdgpu_bo *bo, bool evicted); 403 struct amdgpu_bo *bo); 406 struct amdgpu_bo *bo);
|
H A 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;
|
H A D | amdgpu_csa.c | 37 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()
|