Home
last modified time | relevance | path

Searched refs:bo_size (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_trace.h466 __field(u64, bo_size)
472 __entry->bo_size = amdgpu_bo_size(bo);
477 __entry->bo_size)
501 __field(u64, bo_size)
508 __entry->bo_size = amdgpu_bo_size(bo);
514 __entry->new_placement, __entry->bo_size)
Damdgpu_amdkfd_gpuvm.c805 unsigned long bo_size = mem->bo->tbo.base.size; in kfd_mem_attach() local
843 va + bo_size, vm); in kfd_mem_attach()
908 va += bo_size; in kfd_mem_attach()
1798 unsigned long bo_size = mem->bo->tbo.base.size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() local
1825 mem->va, bo_size); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1849 mem->va + bo_size * (1 + mem->aql_queue)); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1874 *size = bo_size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1911 unsigned long bo_size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() local
1939 bo_size = bo->tbo.base.size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
1943 mem->va + bo_size * (1 + mem->aql_queue), in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
[all …]
Damdgpu_vcn.c85 unsigned long bo_size; in amdgpu_vcn_sw_init() local
255 bo_size = AMDGPU_VCN_STACK_SIZE + AMDGPU_VCN_CONTEXT_SIZE; in amdgpu_vcn_sw_init()
257 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
267 bo_size += fw_shared_size; in amdgpu_vcn_sw_init()
270 bo_size += AMDGPU_VCNFW_LOG_SIZE; in amdgpu_vcn_sw_init()
276 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_vcn_sw_init()
285 bo_size - fw_shared_size; in amdgpu_vcn_sw_init()
287 bo_size - fw_shared_size; in amdgpu_vcn_sw_init()
Damdgpu_amdkfd.c498 uint64_t *bo_size, void *metadata_buffer, in amdgpu_amdkfd_get_dmabuf_info() argument
531 if (bo_size) in amdgpu_amdkfd_get_dmabuf_info()
532 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_uvd.c186 unsigned long bo_size; in amdgpu_uvd_sw_init() local
325 bo_size = AMDGPU_UVD_STACK_SIZE + AMDGPU_UVD_HEAP_SIZE in amdgpu_uvd_sw_init()
328 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
333 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_uvd_sw_init()
Damdgpu_amdkfd.h230 uint64_t *bo_size, void *metadata_buffer,
Damdgpu_gem.c286 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl()
826 info.bo_size = robj->tbo.base.size; in amdgpu_gem_op_ioctl()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c240 unsigned long bo_size; in vmw_otable_batch_setup() local
245 bo_size = 0; in vmw_otable_batch_setup()
251 bo_size += otables[i].size; in vmw_otable_batch_setup()
254 ret = vmw_bo_create_and_populate(dev_priv, bo_size, &batch->otable_bo); in vmw_otable_batch_setup()
Dvmwgfx_scrn.c243 sou->buffer_size = vps->bo_size; in vmw_sou_crtc_mode_set_nofb()
392 vps->bo_size = 0; in vmw_sou_primary_plane_cleanup_fb()
422 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
431 if (vps->bo_size == size) { in vmw_sou_primary_plane_prepare_fb()
441 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
459 vps->bo_size = size; in vmw_sou_primary_plane_prepare_fb()
Dvmwgfx_fb.c47 unsigned bo_size; member
514 par->bo_size < new_bo_size || in vmw_fb_kms_framebuffer()
515 par->bo_size > 2*new_bo_size, in vmw_fb_kms_framebuffer()
528 par->bo_size = new_bo_size; in vmw_fb_kms_framebuffer()
Dvmwgfx_ttm_buffer.c649 unsigned long bo_size, in vmw_bo_create_and_populate() argument
659 ret = vmw_bo_create_kernel(dev_priv, bo_size, in vmw_bo_create_and_populate()
Dvmwgfx_kms.h291 unsigned long bo_size; member
Dvmwgfx_execbuf.c1510 uint32_t bo_size; in vmw_cmd_dma() local
1529 bo_size = vmw_bo->base.base.size; in vmw_cmd_dma()
1530 if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { in vmw_cmd_dma()
1535 bo_size -= cmd->body.guest.ptr.offset; in vmw_cmd_dma()
1536 if (unlikely(suffix->maximumOffset > bo_size)) in vmw_cmd_dma()
1537 suffix->maximumOffset = bo_size; in vmw_cmd_dma()
Dvmwgfx_drv.h1074 unsigned long bo_size,
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_uvd.c68 unsigned long bo_size; in radeon_uvd_init() local
186 bo_size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 8) + in radeon_uvd_init()
189 r = radeon_bo_create(rdev, bo_size, PAGE_SIZE, true, in radeon_uvd_init()
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h150 __u64 bo_size; member