Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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)
H A Damdgpu_amdkfd_gpuvm.c869 va + bo_size, vm); in kfd_mem_attach()
934 va += bo_size; in kfd_mem_attach()
1837 mem->va, bo_size); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1865 mem->va + bo_size * (1 + mem->aql_queue)); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1895 *size = bo_size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1932 unsigned long bo_size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() local
1960 bo_size = bo->tbo.base.size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
1964 mem->va + bo_size * (1 + mem->aql_queue), in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2008 entry->va, entry->va + bo_size, entry); in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2103 mem->va + bo_size * (1 + mem->aql_queue), in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
[all …]
H A Damdgpu_vcn.c103 unsigned long bo_size; in amdgpu_vcn_sw_init() local
172 bo_size = AMDGPU_VCN_STACK_SIZE + AMDGPU_VCN_CONTEXT_SIZE; in amdgpu_vcn_sw_init()
174 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
184 bo_size += fw_shared_size; in amdgpu_vcn_sw_init()
187 bo_size += AMDGPU_VCNFW_LOG_SIZE; in amdgpu_vcn_sw_init()
193 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_vcn_sw_init()
205 bo_size - fw_shared_size; in amdgpu_vcn_sw_init()
207 bo_size - fw_shared_size; in amdgpu_vcn_sw_init()
H A Damdgpu_amdkfd.c494 uint64_t *bo_size, void *metadata_buffer, in amdgpu_amdkfd_get_dmabuf_info() argument
527 if (bo_size) in amdgpu_amdkfd_get_dmabuf_info()
528 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
H A Damdgpu_uvd.c186 unsigned long bo_size; in amdgpu_uvd_sw_init() local
317 bo_size = AMDGPU_UVD_STACK_SIZE + AMDGPU_UVD_HEAP_SIZE in amdgpu_uvd_sw_init()
320 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
325 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_uvd_sw_init()
H A Damdgpu_amdkfd.h242 uint64_t *bo_size, void *metadata_buffer,
H A Damdgpu_gem.c286 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl()
829 info.bo_size = robj->tbo.base.size; in amdgpu_gem_op_ioctl()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mob.c241 unsigned long bo_size; in vmw_otable_batch_setup() local
246 bo_size = 0; in vmw_otable_batch_setup()
252 bo_size += otables[i].size; in vmw_otable_batch_setup()
255 ret = vmw_bo_create_and_populate(dev_priv, bo_size, in vmw_otable_batch_setup()
H A Dvmwgfx_scrn.c243 sou->buffer_size = vps->bo_size; in vmw_sou_crtc_mode_set_nofb()
391 vps->bo_size = 0; in vmw_sou_primary_plane_cleanup_fb()
425 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
434 if (vps->bo_size == bo_params.size) { in vmw_sou_primary_plane_prepare_fb()
444 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
458 vps->bo_size = bo_params.size; in vmw_sou_primary_plane_prepare_fb()
H A Dvmwgfx_ttm_buffer.c593 size_t bo_size, u32 domain, in vmw_bo_create_and_populate() argument
606 .size = bo_size, in vmw_bo_create_and_populate()
H A Dvmwgfx_kms.h294 unsigned long bo_size; member
H A Dvmwgfx_execbuf.c1521 uint32_t bo_size; in vmw_cmd_dma() local
1540 bo_size = vmw_bo->tbo.base.size; in vmw_cmd_dma()
1541 if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { in vmw_cmd_dma()
1546 bo_size -= cmd->body.guest.ptr.offset; in vmw_cmd_dma()
1547 if (unlikely(suffix->maximumOffset > bo_size)) in vmw_cmd_dma()
1548 suffix->maximumOffset = bo_size; in vmw_cmd_dma()
H A Dvmwgfx_drv.h951 size_t bo_size,
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
/openbmc/linux/include/uapi/drm/
H A Damdgpu_drm.h169 __u64 bo_size; member