From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxx> Hi, So I finally got around to finish this work! :) Here are the updated patchset with fixes for Rob Herring incorporated. This follow pretty much the same semantics of other drivers that implemented explicit fence support. It extends the execbuf ioctl to have an fence_fd argument that when entering the kernel carries the in-fence and when returning carries back the out-fence. The mesa patch can be found at https://gitlab.collabora.com/padovan/mesa Please review! Regards, Gustavo Gustavo Padovan (5): drm/virtio: add virtio_gpu_alloc_fence() drm/virtio: add uapi for in and out explicit fences drm/virtio: add in-fences support for explicit synchronization drm/virtio: add out-fences support for explicit synchronization drm/virtio: bump driver version after explicit synchronization addition drivers/gpu/drm/virtio/virtgpu_drv.h | 21 +++--- drivers/gpu/drm/virtio/virtgpu_fence.c | 41 ++++++++---- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 115 +++++++++++++++++++++++++++------ drivers/gpu/drm/virtio/virtgpu_plane.c | 46 +++++++++++-- drivers/gpu/drm/virtio/virtgpu_vq.c | 16 ++--- include/uapi/drm/virtgpu_drm.h | 13 +++- 6 files changed, 197 insertions(+), 55 deletions(-) -- 2.14.3 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel