Searched refs:bo_size (Results 1 – 16 of 16) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_trace.h | 465 __field(u64, bo_size) 471 __entry->bo_size = amdgpu_bo_size(bo); 476 __entry->bo_size) 500 __field(u64, bo_size) 507 __entry->bo_size = amdgpu_bo_size(bo); 513 __entry->new_placement, __entry->bo_size)
|
A D | amdgpu_amdkfd_gpuvm.c | 692 va + bo_size, vm); in kfd_mem_attach() 751 va += bo_size; in kfd_mem_attach() 1550 mem->va, bo_size); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1574 mem->va + bo_size * (1 + mem->aql_queue)); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1599 *size = bo_size; in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1630 unsigned long bo_size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() local 1658 bo_size = bo->tbo.base.size; in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 1662 mem->va + bo_size * (1 + mem->aql_queue), in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 1706 entry->va, entry->va + bo_size, entry); in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 1776 mem->va + bo_size * (1 + mem->aql_queue), in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu() [all …]
|
A D | amdgpu_vcn.c | 76 unsigned long bo_size; in amdgpu_vcn_sw_init() local 218 bo_size = AMDGPU_VCN_STACK_SIZE + AMDGPU_VCN_CONTEXT_SIZE; in amdgpu_vcn_sw_init() 220 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init() 221 bo_size += AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init() 227 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_vcn_sw_init() 236 bo_size - AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init() 238 bo_size - AMDGPU_GPU_PAGE_ALIGN(sizeof(struct amdgpu_fw_shared)); in amdgpu_vcn_sw_init()
|
A D | amdgpu_amdkfd.c | 478 uint64_t *bo_size, void *metadata_buffer, in amdgpu_amdkfd_get_dmabuf_info() argument 512 if (bo_size) in amdgpu_amdkfd_get_dmabuf_info() 513 *bo_size = amdgpu_bo_size(bo); in amdgpu_amdkfd_get_dmabuf_info()
|
A D | amdgpu_uvd.c | 185 unsigned long bo_size; in amdgpu_uvd_sw_init() local 324 bo_size = AMDGPU_UVD_STACK_SIZE + AMDGPU_UVD_HEAP_SIZE in amdgpu_uvd_sw_init() 327 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init() 332 r = amdgpu_bo_create_kernel(adev, bo_size, PAGE_SIZE, in amdgpu_uvd_sw_init()
|
A D | amdgpu_amdkfd.h | 219 uint64_t *bo_size, void *metadata_buffer,
|
A D | amdgpu_gem.c | 292 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl() 828 info.bo_size = robj->tbo.base.size; in amdgpu_gem_op_ioctl()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_mob.c | 249 unsigned long bo_size; in vmw_otable_batch_setup() local 254 bo_size = 0; in vmw_otable_batch_setup() 260 bo_size += otables[i].size; in vmw_otable_batch_setup() 263 ret = vmw_bo_create_and_populate(dev_priv, bo_size, &batch->otable_bo); in vmw_otable_batch_setup()
|
A D | vmwgfx_scrn.c | 244 sou->buffer_size = vps->bo_size; in vmw_sou_crtc_mode_set_nofb() 393 vps->bo_size = 0; in vmw_sou_primary_plane_cleanup_fb() 423 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb() 432 if (vps->bo_size == size) { in vmw_sou_primary_plane_prepare_fb() 442 vps->bo_size = 0; in vmw_sou_primary_plane_prepare_fb() 464 vps->bo_size = size; in vmw_sou_primary_plane_prepare_fb()
|
A D | vmwgfx_fb.c | 46 unsigned bo_size; member 521 par->bo_size < new_bo_size || in vmw_fb_kms_framebuffer() 522 par->bo_size > 2*new_bo_size, in vmw_fb_kms_framebuffer() 535 par->bo_size = new_bo_size; in vmw_fb_kms_framebuffer()
|
A D | vmwgfx_ttm_buffer.c | 728 unsigned long bo_size, in vmw_bo_create_and_populate() argument 738 ret = vmw_bo_create_kernel(dev_priv, bo_size, in vmw_bo_create_and_populate()
|
A D | vmwgfx_kms.h | 291 unsigned long bo_size; member
|
A D | vmwgfx_execbuf.c | 1530 uint32_t bo_size; in vmw_cmd_dma() local 1549 bo_size = vmw_bo->base.base.size; in vmw_cmd_dma() 1550 if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { in vmw_cmd_dma() 1555 bo_size -= cmd->body.guest.ptr.offset; in vmw_cmd_dma() 1556 if (unlikely(suffix->maximumOffset > bo_size)) in vmw_cmd_dma() 1557 suffix->maximumOffset = bo_size; in vmw_cmd_dma()
|
A D | vmwgfx_drv.h | 1050 unsigned long bo_size,
|
/linux/drivers/gpu/drm/radeon/ |
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()
|
/linux/include/uapi/drm/ |
A D | amdgpu_drm.h | 146 __u64 bo_size; member
|
Completed in 52 milliseconds