[PATCH 0/5] virgl: fence fd support

From: Robert Foss
Date: Thu Oct 25 2018 - 14:37:48 EST

This series implements fence support for drm/virtio and
has been tested using qemu, kmscube and the below branches.

Rob Herring solved a reference counting issue and
suggested a context check for the execbuf ioctl, his
changes have been included in the below commits to
keep the tree working at all commits.

The linux series can be found here:

As for mesa, the branch can be found here:

Changes since v2:
- drm/virtio: add virtio_gpu_alloc_fence()
- Forward port and fix compilation issues
- drm/virtio: add uapi for in and out explicit fences
- Check exbuf->flags for unsupported flags

Gustavo Padovan (4):
drm/virtio: add virtio_gpu_alloc_fence()
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

Robert Foss (1):
drm/virtio: add uapi for in and out explicit fences

drivers/gpu/drm/virtio/virtgpu_drv.h | 22 +++--
drivers/gpu/drm/virtio/virtgpu_fence.c | 41 ++++++---
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 118 +++++++++++++++++++++----
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, 201 insertions(+), 55 deletions(-)