[PATCH v1 0/3] drm/virtio: Add a default synchronization mechanism for blobs

Vivek Kasireddy vivek.kasireddy at intel.com
Thu Jun 10 23:24:53 UTC 2021


This 3 patch series is the counterpart for this other series:
https://lists.nongnu.org/archive/html/qemu-devel/2021-06/msg02906.html

It makes it possible for the Guest to wait until the Host has 
completely consumed its FB before reusing it again thereby ensuring
that both the parties don't access it at the same time.

Cc: Gerd Hoffmann <kraxel at redhat.com>
Cc: Dongwon Kim <dongwon.kim at intel.com>
Cc: Tina Zhang <tina.zhang at intel.com>

Vivek Kasireddy (3):
  drm/virtio: Add fences for Guest blobs
  drm/virtio: Prepare resource_flush to accept a fence
  drm/virtio: Add the fence in resource_flush if present

 drivers/gpu/drm/virtio/virtgpu_drv.h   |  4 +-
 drivers/gpu/drm/virtio/virtgpu_plane.c | 64 ++++++++++++++++++++------
 drivers/gpu/drm/virtio/virtgpu_vq.c    |  7 ++-
 3 files changed, 59 insertions(+), 16 deletions(-)

-- 
2.30.2



More information about the dri-devel mailing list