Re: [PATCH 3/5] drm/virtio: add in-fences support for explicit synchronization

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > @@ -124,6 +127,22 @@ static int virtio_gpu_execbuffer_ioctl(struct drm_device > *dev, void *data, > if ((exbuf->flags & ~VIRTGPU_EXECBUF_FLAGS)) > return -EINVAL; > > + if (exbuf->flags & VIRTGPU_EXECBUF_FE

[PATCH 3/5] drm/virtio: add in-fences support for explicit synchronization

2018-10-25 Thread Robert Foss
From: Gustavo Padovan When the execbuf call receives an in-fence it will get the dma_fence related to that fence fd and wait on it before submitting the draw call. Signed-off-by: Gustavo Padovan Signed-off-by: Robert Foss Suggested-by: Rob Herring --- drivers/gpu/drm/virtio/virtgpu_ioctl.c |