Home
last modified time | relevance | path

Searched refs:amdgpu_bo_size (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mn.c137 addr, amdgpu_bo_size(bo), in amdgpu_mn_register()
140 amdgpu_bo_size(bo), in amdgpu_mn_register()
Damdgpu_object.c744 amdgpu_bo_size(shadow), NULL, fence, in amdgpu_bo_restore_shadow()
959 atomic64_add(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_pin_restricted()
963 atomic64_add(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_pin_restricted()
1010 atomic64_sub(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_unpin()
1014 atomic64_sub(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_unpin()
1275 *vram_mem += amdgpu_bo_size(bo); in amdgpu_bo_get_memory()
1278 *gtt_mem += amdgpu_bo_size(bo); in amdgpu_bo_get_memory()
1282 *cpu_mem += amdgpu_bo_size(bo); in amdgpu_bo_get_memory()
1563 size = amdgpu_bo_size(bo); in amdgpu_bo_print_info()
Damdgpu_job.c139 job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
143 job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources()
147 job->oa_size = amdgpu_bo_size(oa) >> PAGE_SHIFT; in amdgpu_job_set_resources()
Damdgpu_object.h189 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() function
226 amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &cursor); in amdgpu_bo_in_cpu_visible_vram()
Damdgpu_trace.h472 __entry->bo_size = amdgpu_bo_size(bo);
508 __entry->bo_size = amdgpu_bo_size(bo);
Dvce_v4_0.c447 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_sw_init()
570 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_suspend()
619 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_resume()
Damdgpu_amdkfd_gpuvm.c234 u64 size = amdgpu_bo_size(bo); in amdgpu_amdkfd_release_notify()
1264 amdgpu_bo_size(entry->bo_va->base.bo), in map_bo_to_gpuvm()
2181 *size = amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel()
2264 *size = amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_import_dmabuf()
2696 total_size += amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_restore_process_bos()
2701 failed_size += amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_restore_process_bos()
Damdgpu_bo_list.c130 total_size += amdgpu_bo_size(bo); in amdgpu_bo_list_create()
Damdgpu_uvd.c451 size = amdgpu_bo_size(adev->uvd.inst[j].vcpu_bo); in amdgpu_uvd_suspend()
487 size = amdgpu_bo_size(adev->uvd.inst[i].vcpu_bo); in amdgpu_uvd_resume()
Damdgpu_amdkfd.c532 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_vcn.c385 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_suspend()
412 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_resume()
Damdgpu_vm_pt.c396 entries = amdgpu_bo_size(bo) / 8; in amdgpu_vm_pt_clear()
Damdgpu_vram_mgr.c257 return amdgpu_bo_size(bo); in amdgpu_vram_mgr_bo_visible_size()
Damdgpu_vm.c1437 (bo && offset + size > amdgpu_bo_size(bo)) || in amdgpu_vm_bo_map()
1503 (bo && offset + size > amdgpu_bo_size(bo)) || in amdgpu_vm_bo_replace_map()
Damdgpu_cs.c137 size = amdgpu_bo_size(bo); in amdgpu_cs_p1_user_fence()
Damdgpu_psp.c699 uint32_t size = amdgpu_bo_size(tmr_bo); in psp_prep_tmr_cmd_buf()
813 amdgpu_bo_size(psp->tmr_bo), psp->tmr_mc_addr); in psp_tmr_load()
Damdgpu_ttm.c2078 amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &dst); in amdgpu_fill_buffer()
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1831 bo_bucket->size = amdgpu_bo_size(dumper_bo); in criu_checkpoint_bos()