Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c76 struct drm_virtgpu_execbuffer *exbuf = data; in virtio_gpu_execbuffer_ioctl() local
85 int in_fence_fd = exbuf->fence_fd; in virtio_gpu_execbuffer_ioctl()
92 if ((exbuf->flags & ~VIRTGPU_EXECBUF_FLAGS)) in virtio_gpu_execbuffer_ioctl()
95 exbuf->fence_fd = -1; in virtio_gpu_execbuffer_ioctl()
98 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_IN) { in virtio_gpu_execbuffer_ioctl()
119 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_OUT) { in virtio_gpu_execbuffer_ioctl()
125 if (exbuf->num_bo_handles) { in virtio_gpu_execbuffer_ioctl()
126 bo_handles = kvmalloc_array(exbuf->num_bo_handles, in virtio_gpu_execbuffer_ioctl()
133 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles); in virtio_gpu_execbuffer_ioctl()
135 exbuf->num_bo_handles * sizeof(uint32_t))) { in virtio_gpu_execbuffer_ioctl()
[all …]