Home
last modified time | relevance | path

Searched refs:gem_base (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_gem.c69 ret = drm_gem_handle_create(file, &obj->gem_base, &handle); in virtio_gpu_gem_create()
71 drm_gem_object_release(&obj->gem_base); in virtio_gpu_gem_create()
75 *obj_p = &obj->gem_base; in virtio_gpu_gem_create()
78 drm_gem_object_put_unlocked(&obj->gem_base); in virtio_gpu_gem_create()
Dvirtgpu_object.c66 vgdev = (struct virtio_gpu_device *)bo->gem_base.dev->dev_private; in virtio_gpu_ttm_bo_destroy()
74 drm_gem_object_release(&bo->gem_base); in virtio_gpu_ttm_bo_destroy()
118 ret = drm_gem_object_init(vgdev->ddev, &bo->gem_base, params->size); in virtio_gpu_object_create()
153 drm_gem_object_get(&bo->gem_base); in virtio_gpu_object_create()
Dvirtgpu_drv.h71 struct drm_gem_object gem_base; member
85 container_of((gobj), struct virtio_gpu_object, gem_base)
411 bo->gem_base.dev->dev_private; in virtio_gpu_object_reserve()
Dvirtgpu_ioctl.c94 drm_gem_object_put_unlocked(&qobj->gem_base); in virtio_gpu_unref_list()
323 obj = &qobj->gem_base; in virtio_gpu_resource_create_ioctl()
350 ri->size = qobj->gem_base.size; in virtio_gpu_resource_info_ioctl()