Home
last modified time | relevance | path

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

/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_fb.c250 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()
Damdgpu_object.c68 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()
Dvce_v4_0.c446 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()
Damdgpu_cs.c61 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()
Damdgpu_trace.h470 __entry->bo_size = amdgpu_bo_size(bo);
506 __entry->bo_size = amdgpu_bo_size(bo);
Damdgpu_object.h177 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() function
Damdgpu_bo_list.c130 total_size += amdgpu_bo_size(bo); in amdgpu_bo_list_create()
Damdgpu_vcn.c267 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()
Damdgpu_amdkfd_gpuvm.c209 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()
Damdgpu_dma_buf.c96 unsigned asize = amdgpu_bo_size(bo); in amdgpu_gem_prime_mmap()
Damdgpu_uvd.c399 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()
Damdgpu_vram_mgr.c266 return amdgpu_bo_size(bo); in amdgpu_vram_mgr_bo_visible_size()
Damdgpu_amdkfd.c512 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_vm.c766 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()
Damdgpu_gem.c874 id, amdgpu_bo_size(bo), placement); in amdgpu_debugfs_gem_bo_info()
Damdgpu_psp.c454 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()