[PATCH v2 0/5] virgl: fence fd support
Gustavo Padovan
gustavo at padovan.org
Fri Feb 16 15:12:02 UTC 2018
From: Gustavo Padovan <gustavo.padovan at collabora.com>
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
More information about the dri-devel
mailing list