search for: virtio_gpu_wait_in_f

Displaying 1 result from an estimated 1 matches for "virtio_gpu_wait_in_f".

2023 Mar 22
0
[PATCH v2 1/2] drm/virtio: Refactor job submission code path
...PU_EXECBUF_FENCE_FD_OUT) { > + err = get_unused_fd_flags(O_CLOEXEC); > + if (err < 0) > + return err; > + > + submit->out_fence_fd = err; > + } > + > + return 0; > +} > + > +static int virtio_gpu_wait_in_fence(struct virtio_gpu_submit *submit) > +{ > + int ret = 0; > + > + if (submit->exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_IN) { > + struct dma_fence *in_fence = > + sync_file_get_fence(submit->exbuf->fence_fd);...