/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_trace.h | 466 __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 D | amdgpu_amdkfd_gpuvm.c | 869 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 D | amdgpu_vcn.c | 103 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 D | amdgpu_amdkfd.c | 494 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 D | amdgpu_uvd.c | 186 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 D | amdgpu_amdkfd.h | 242 uint64_t *bo_size, void *metadata_buffer,
|
H A D | amdgpu_gem.c | 286 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 D | vmwgfx_mob.c | 241 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 D | vmwgfx_scrn.c | 243 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 D | vmwgfx_ttm_buffer.c | 593 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 D | vmwgfx_kms.h | 294 unsigned long bo_size; member
|
H A D | vmwgfx_execbuf.c | 1521 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 D | vmwgfx_drv.h | 951 size_t bo_size,
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_uvd.c | 68 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 D | amdgpu_drm.h | 169 __u64 bo_size; member
|