Searched refs:amdgpu_bo_size (Results 1 – 19 of 19) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_hmm.c | 136 addr, amdgpu_bo_size(bo), in amdgpu_hmm_register() 140 amdgpu_bo_size(bo), in amdgpu_hmm_register()
|
D | amdgpu_job.c | 242 job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources() 246 job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources() 250 job->oa_size = amdgpu_bo_size(oa) >> PAGE_SHIFT; in amdgpu_job_set_resources()
|
D | amdgpu_object.c | 890 atomic64_add(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_pin() 894 atomic64_add(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_pin() 923 atomic64_sub(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_unpin() 927 atomic64_sub(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_unpin() 1178 uint64_t size = amdgpu_bo_size(bo); in amdgpu_bo_get_memory() 1528 size = amdgpu_bo_size(bo); in amdgpu_bo_print_info()
|
D | amdgpu_bo_list.c | 128 total_size += amdgpu_bo_size(bo); in amdgpu_bo_list_create()
|
D | amdgpu_trace.h | 472 __entry->bo_size = amdgpu_bo_size(bo); 508 __entry->bo_size = amdgpu_bo_size(bo);
|
D | amdgpu_object.h | 231 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() function
|
D | vce_v4_0.c | 447 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_sw_init() 566 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_suspend() 615 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_resume()
|
D | amdgpu_amdkfd_gpuvm.c | 297 u64 size = amdgpu_bo_size(bo); in amdgpu_amdkfd_release_notify() 1302 amdgpu_bo_size(entry->bo_va->base.bo), in map_bo_to_gpuvm() 2326 *size = amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel() 2398 *size = amdgpu_bo_size(bo); in import_obj_create() 2954 total_size += amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_restore_process_bos() 2959 failed_size += amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_restore_process_bos()
|
D | amdgpu_uvd.c | 446 size = amdgpu_bo_size(adev->uvd.inst[j].vcpu_bo); in amdgpu_uvd_prepare_suspend() 487 size = amdgpu_bo_size(adev->uvd.inst[i].vcpu_bo); in amdgpu_uvd_resume()
|
D | amdgpu_vcn.c | 318 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_suspend() 345 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_resume()
|
D | amdgpu_vm_pt.c | 380 entries = amdgpu_bo_size(bo) / 8; in amdgpu_vm_pt_clear()
|
D | amdgpu_amdkfd.c | 538 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_vram_mgr.c | 283 return amdgpu_bo_size(bo); in amdgpu_vram_mgr_bo_visible_size()
|
D | amdgpu_ttm.c | 2285 amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &cursor); in amdgpu_ttm_clear_buffer() 2338 amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &dst); in amdgpu_fill_buffer()
|
D | amdgpu_cs.c | 139 size = amdgpu_bo_size(p->uf_bo); in amdgpu_cs_p1_user_fence()
|
D | amdgpu_psp.c | 771 size = amdgpu_bo_size(tmr_bo); in psp_prep_tmr_cmd_buf() 894 amdgpu_bo_size(psp->tmr_bo), psp->tmr_mc_addr); in psp_tmr_load()
|
D | amdgpu_vm.c | 1694 if (bo && offset + size > amdgpu_bo_size(bo)) in amdgpu_vm_verify_parameters()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 423 atomic64_sub(amdgpu_bo_size(svm_bo->bo), &pdd->vram_usage); in svm_range_bo_release() 650 atomic64_add(amdgpu_bo_size(bo), &pdd->vram_usage); in svm_range_vram_node_new()
|
D | kfd_chardev.c | 1936 bo_bucket->size = amdgpu_bo_size(dumper_bo); in criu_checkpoint_bos()
|