/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 444 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 …]
|
D | amdgpu_trace.h | 464 __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)
|
D | amdgpu_vcn.c | 65 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()
|
D | amdgpu_amdkfd.c | 477 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()
|
D | amdgpu_uvd.c | 139 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()
|
D | amdgpu_amdkfd.h | 201 uint64_t *bo_size, void *metadata_buffer,
|
D | amdgpu_gem.c | 211 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/ |
D | vmwgfx_mob.c | 239 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()
|
D | vmwgfx_scrn.c | 244 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()
|
D | vmwgfx_fb.c | 46 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()
|
D | vmwgfx_ttm_buffer.c | 810 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()
|
D | vmwgfx_kms.h | 291 unsigned long bo_size; member
|
D | vmwgfx_execbuf.c | 1525 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()
|
D | vmwgfx_drv.h | 1023 unsigned long bo_size,
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_bo_api.h | 355 unsigned long bo_size,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 68 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/ |
D | ttm_bo.c | 1257 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/ |
D | amdgpu_drm.h | 67 __u64 bo_size; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | amdgpu_drm.h | 144 __u64 bo_size; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | amdgpu_drm.h | 76 __u64 bo_size; member
|