Searched refs:shmem_obj (Results 1 – 3 of 3) sorted by relevance
128 struct drm_gem_shmem_object *shmem_obj; in v3d_bo_create() local132 shmem_obj = drm_gem_shmem_create(dev, unaligned_size); in v3d_bo_create()133 if (IS_ERR(shmem_obj)) in v3d_bo_create()134 return ERR_CAST(shmem_obj); in v3d_bo_create()135 bo = to_v3d_bo(&shmem_obj->base); in v3d_bo_create()137 ret = v3d_bo_create_finish(&shmem_obj->base); in v3d_bo_create()144 drm_gem_shmem_free_object(&shmem_obj->base); in v3d_bo_create()
89 struct drm_gem_shmem_object *shmem_obj = &bo->base; in v3d_mmu_insert_ptes() local90 struct v3d_dev *v3d = to_v3d_dev(shmem_obj->base.dev); in v3d_mmu_insert_ptes()95 for_each_sgtable_dma_page(shmem_obj->sgt, &dma_iter, 0) { in v3d_mmu_insert_ptes()108 shmem_obj->base.size >> V3D_MMU_PAGE_SHIFT); in v3d_mmu_insert_ptes()
206 struct drm_gem_shmem_object *shmem_obj; in virtio_gpu_object_create() local215 shmem_obj = drm_gem_shmem_create(vgdev->ddev, params->size); in virtio_gpu_object_create()216 if (IS_ERR(shmem_obj)) in virtio_gpu_object_create()217 return PTR_ERR(shmem_obj); in virtio_gpu_object_create()218 bo = gem_to_virtio_gpu_obj(&shmem_obj->base); in virtio_gpu_object_create()248 virtio_gpu_free_object(&shmem_obj->base); in virtio_gpu_object_create()262 drm_gem_shmem_free_object(&shmem_obj->base); in virtio_gpu_object_create()