Searched refs:amdgpu_bo_size (Results 1 – 17 of 17) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_mn.c | 137 addr, amdgpu_bo_size(bo), in amdgpu_mn_register() 140 amdgpu_bo_size(bo), in amdgpu_mn_register()
|
D | amdgpu_fb.c | 250 info->fix.smem_len = amdgpu_bo_size(abo); in amdgpufb_create() 252 info->screen_size = amdgpu_bo_size(abo); in amdgpufb_create() 269 DRM_INFO("size %lu\n", (unsigned long)amdgpu_bo_size(abo)); in amdgpufb_create() 381 size += amdgpu_bo_size(robj); in amdgpu_fbdev_total_size()
|
D | amdgpu_object.c | 68 atomic64_sub(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_subtract_pin_size() 72 atomic64_sub(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_subtract_pin_size() 764 amdgpu_bo_size(shadow), NULL, fence, in amdgpu_bo_restore_shadow() 975 atomic64_add(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_pin_restricted() 979 atomic64_add(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_pin_restricted()
|
D | vce_v4_0.c | 446 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_sw_init() 564 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_suspend() 586 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); in vce_v4_0_resume()
|
D | amdgpu_cs.c | 61 size = amdgpu_bo_size(bo); in amdgpu_cs_user_fence_chunk() 620 p->job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_cs_parser_bos() 624 p->job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; in amdgpu_cs_parser_bos() 628 p->job->oa_size = amdgpu_bo_size(oa) >> PAGE_SHIFT; in amdgpu_cs_parser_bos()
|
D | amdgpu_trace.h | 470 __entry->bo_size = amdgpu_bo_size(bo); 506 __entry->bo_size = amdgpu_bo_size(bo);
|
D | amdgpu_object.h | 177 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() function
|
D | amdgpu_bo_list.c | 130 total_size += amdgpu_bo_size(bo); in amdgpu_bo_list_create()
|
D | amdgpu_vcn.c | 267 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_suspend() 291 size = amdgpu_bo_size(adev->vcn.inst[i].vcpu_bo); in amdgpu_vcn_resume()
|
D | amdgpu_amdkfd_gpuvm.c | 209 unreserve_mem_limit(adev, amdgpu_bo_size(bo), domain, sg); in amdgpu_amdkfd_unreserve_memory_limit() 807 amdgpu_bo_size(entry->bo_va->base.bo), in map_bo_to_gpuvm() 1619 *size = amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel() 1681 *size = amdgpu_bo_size(bo); in amdgpu_amdkfd_gpuvm_import_dmabuf()
|
D | amdgpu_dma_buf.c | 96 unsigned asize = amdgpu_bo_size(bo); in amdgpu_gem_prime_mmap()
|
D | amdgpu_uvd.c | 399 size = amdgpu_bo_size(adev->uvd.inst[j].vcpu_bo); in amdgpu_uvd_suspend() 431 size = amdgpu_bo_size(adev->uvd.inst[i].vcpu_bo); in amdgpu_uvd_resume()
|
D | amdgpu_vram_mgr.c | 266 return amdgpu_bo_size(bo); in amdgpu_vram_mgr_bo_visible_size()
|
D | amdgpu_amdkfd.c | 512 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_vm.c | 766 entries = amdgpu_bo_size(bo) / 8; in amdgpu_vm_clear_bo() 2239 if ((bo && offset + size > amdgpu_bo_size(bo)) || in amdgpu_vm_bo_map() 2305 if ((bo && offset + size > amdgpu_bo_size(bo)) || in amdgpu_vm_bo_replace_map()
|
D | amdgpu_gem.c | 874 id, amdgpu_bo_size(bo), placement); in amdgpu_debugfs_gem_bo_info()
|
D | amdgpu_psp.c | 454 amdgpu_bo_size(psp->tmr_bo)); in psp_tmr_load() 456 amdgpu_bo_size(psp->tmr_bo), psp->tmr_mc_addr); in psp_tmr_load()
|