/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
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)
|
D | amdgpu_amdkfd_gpuvm.c | 805 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 …]
|
D | amdgpu_vcn.c | 85 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()
|
D | amdgpu_amdkfd.c | 498 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()
|
D | amdgpu_uvd.c | 186 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()
|
D | amdgpu_amdkfd.h | 230 uint64_t *bo_size, void *metadata_buffer,
|
D | amdgpu_gem.c | 286 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/ |
D | vmwgfx_mob.c | 240 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()
|
D | vmwgfx_scrn.c | 243 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()
|
D | vmwgfx_fb.c | 47 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()
|
D | vmwgfx_ttm_buffer.c | 649 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()
|
D | vmwgfx_kms.h | 291 unsigned long bo_size; member
|
D | vmwgfx_execbuf.c | 1510 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()
|
D | vmwgfx_drv.h | 1074 unsigned long bo_size,
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
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-6.1.9/include/uapi/drm/ |
D | amdgpu_drm.h | 150 __u64 bo_size; member
|