Searched refs:bo_size (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mob.c | 241 unsigned long bo_size; in vmw_otable_batch_setup() local 246 bo_size = 0; in vmw_otable_batch_setup() 253 bo_size += otables[i].size; in vmw_otable_batch_setup() 256 ret = ttm_bo_create(&dev_priv->bdev, bo_size, in vmw_otable_batch_setup()
|
D | vmwgfx_fb.c | 48 unsigned bo_size; member 496 par->bo_size < new_bo_size || in vmw_fb_kms_framebuffer() 497 par->bo_size > 2*new_bo_size, in vmw_fb_kms_framebuffer() 510 par->bo_size = new_bo_size; in vmw_fb_kms_framebuffer()
|
D | vmwgfx_execbuf.c | 1674 uint32_t bo_size; in vmw_cmd_dma() local 1693 bo_size = vmw_bo->base.num_pages * PAGE_SIZE; in vmw_cmd_dma() 1694 if (unlikely(cmd->dma.guest.ptr.offset > bo_size)) { in vmw_cmd_dma() 1699 bo_size -= cmd->dma.guest.ptr.offset; in vmw_cmd_dma() 1700 if (unlikely(suffix->maximumOffset > bo_size)) in vmw_cmd_dma() 1701 suffix->maximumOffset = bo_size; in vmw_cmd_dma()
|
/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 65 unsigned long bo_size; in radeon_uvd_init() local 140 bo_size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 8) + in radeon_uvd_init() 143 r = radeon_bo_create(rdev, bo_size, PAGE_SIZE, true, in radeon_uvd_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 94 unsigned long bo_size; in amdgpu_uvd_sw_init() local 162 bo_size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8) in amdgpu_uvd_sw_init() 164 r = amdgpu_bo_create(adev, bo_size, PAGE_SIZE, true, in amdgpu_uvd_sw_init()
|
D | amdgpu_gem.c | 174 uint64_t size = args->in.bo_size; in amdgpu_gem_create_ioctl() 632 info.bo_size = robj->gem_base.size; in amdgpu_gem_op_ioctl()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 1185 unsigned long bo_size, in ttm_bo_acc_size() argument 1188 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_acc_size() 1199 unsigned long bo_size, in ttm_bo_dma_acc_size() argument 1202 unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; in ttm_bo_dma_acc_size()
|