mbox series

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

Message ID 20210610232456.671905-1-vivek.kasireddy@intel.com (mailing list archive)
Headers show
Series drm/virtio: Add a default synchronization mechanism for blobs | expand

Message

Kasireddy, Vivek June 10, 2021, 11:24 p.m. UTC
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@redhat.com>
Cc: Dongwon Kim <dongwon.kim@intel.com>
Cc: Tina Zhang <tina.zhang@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(-)

Comments

Gerd Hoffmann June 23, 2021, 12:13 p.m. UTC | #1
On Thu, Jun 10, 2021 at 04:24:53PM -0700, Vivek Kasireddy wrote:
> 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@redhat.com>
> Cc: Dongwon Kim <dongwon.kim@intel.com>
> Cc: Tina Zhang <tina.zhang@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

Pushed to drm-misc-next.

thanks,
  Gerd