Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c444 unsigned long bo_size = bo->tbo.mem.size; in add_bo_to_vm() local
452 va += bo_size; in add_bo_to_vm()
459 va + bo_size, vm); in add_bo_to_vm()
1276 unsigned long bo_size = mem->bo->tbo.mem.size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() local
1294 mem->va, bo_size); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1318 mem->va + bo_size * (1 + mem->aql_queue)); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1323 entry, bo_size); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1344 *size = bo_size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1369 unsigned long bo_size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() local
1397 bo_size = bo->tbo.mem.size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
[all …]
Damdgpu_trace.h464 __field(u64, bo_size)
470 __entry->bo_size = amdgpu_bo_size(bo);
475 __entry->bo_size)
499 __field(u64, bo_size)
506 __entry->bo_size = amdgpu_bo_size(bo);
512 __entry->new_placement, __entry->bo_size)
Damdgpu_vcn.c65 unsigned long bo_size; in amdgpu_vcn_sw_init() local
183 bo_size = AMDGPU_VCN_STACK_SIZE + AMDGPU_VCN_CONTEXT_SIZE; in amdgpu_vcn_sw_init()
185 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
186 bo_size += AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init()
192 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_vcn_sw_init()
201 bo_size - AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init()
203 bo_size - AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init()
Damdgpu_amdkfd.c477 uint64_t *bo_size, void *metadata_buffer, in amdgpu_amdkfd_get_dmabuf_info() argument
511 if (bo_size) in amdgpu_amdkfd_get_dmabuf_info()
512 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_uvd.c139 unsigned long bo_size; in amdgpu_uvd_sw_init() local
278 bo_size = AMDGPU_UVD_STACK_SIZE + AMDGPU_UVD_HEAP_SIZE in amdgpu_uvd_sw_init()
281 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
286 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_uvd_sw_init()
Damdgpu_amdkfd.h201 uint64_t *bo_size, void *metadata_buffer,
Damdgpu_gem.c211 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl()
749 info.bo_size = robj->tbo.base.size; in amdgpu_gem_op_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c239 unsigned long bo_size; in vmw_otable_batch_setup() local
244 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.c244 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()
421 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
430 if (vps->bo_size == size) { in vmw_sou_primary_plane_prepare_fb()
440 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb()
462 vps->bo_size = size; in vmw_sou_primary_plane_prepare_fb()
Dvmwgfx_fb.c46 unsigned bo_size; member
529 par->bo_size < new_bo_size || in vmw_fb_kms_framebuffer()
530 par->bo_size > 2*new_bo_size, in vmw_fb_kms_framebuffer()
543 par->bo_size = new_bo_size; in vmw_fb_kms_framebuffer()
Dvmwgfx_ttm_buffer.c810 unsigned long bo_size, in vmw_bo_create_and_populate() argument
820 ret = ttm_bo_create(&dev_priv->bdev, bo_size, in vmw_bo_create_and_populate()
Dvmwgfx_kms.h291 unsigned long bo_size; member
Dvmwgfx_execbuf.c1525 uint32_t bo_size; in vmw_cmd_dma() local
1544 bo_size = vmw_bo->base.num_pages * PAGE_SIZE; in vmw_cmd_dma()
1545 if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { in vmw_cmd_dma()
1550 bo_size -= cmd->body.guest.ptr.offset; in vmw_cmd_dma()
1551 if (unlikely(suffix->maximumOffset > bo_size)) in vmw_cmd_dma()
1552 suffix->maximumOffset = bo_size; in vmw_cmd_dma()
Dvmwgfx_drv.h1023 unsigned long bo_size,
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_api.h355 unsigned long bo_size,
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_uvd.c68 unsigned long bo_size; in radeon_uvd_init() local
184 bo_size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 8) + in radeon_uvd_init()
187 r = radeon_bo_create(rdev, bo_size, PAGE_SIZE, true, in radeon_uvd_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo.c1257 unsigned long bo_size, in ttm_bo_acc_size() argument
1260 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_acc_size()
1270 unsigned long bo_size, in ttm_bo_dma_acc_size() argument
1273 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_dma_acc_size()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Damdgpu_drm.h67 __u64 bo_size; member
/kernel/linux/linux-5.10/include/uapi/drm/
Damdgpu_drm.h144 __u64 bo_size; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Damdgpu_drm.h76 __u64 bo_size; member