Home
last modified time | relevance | path

Searched refs:bo_handles (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c102 uint32_t *bo_handles = NULL; in virtio_gpu_execbuffer() local
116 bo_handles = drm_malloc_ab(exbuf->num_bo_handles, in virtio_gpu_execbuffer()
120 if (!bo_handles || !buflist) { in virtio_gpu_execbuffer()
121 drm_free_large(bo_handles); in virtio_gpu_execbuffer()
126 user_bo_handles = (void __user *)(uintptr_t)exbuf->bo_handles; in virtio_gpu_execbuffer()
127 if (copy_from_user(bo_handles, user_bo_handles, in virtio_gpu_execbuffer()
130 drm_free_large(bo_handles); in virtio_gpu_execbuffer()
137 drm_file, bo_handles[i]); in virtio_gpu_execbuffer()
139 drm_free_large(bo_handles); in virtio_gpu_execbuffer()
149 drm_free_large(bo_handles); in virtio_gpu_execbuffer()
/linux-4.4.14/include/uapi/drm/
Dvirtgpu_drm.h57 uint64_t bo_handles; member