[PATCH 1/3] virtio-gpu uapi: Add VIRTIO_GPU_F_EXPLICIT_FLUSH feature

Gerd Hoffmann kraxel at redhat.com
Tue May 11 10:29:58 UTC 2021


On Tue, May 11, 2021 at 01:36:08AM -0700, Vivek Kasireddy wrote:
> This feature enables the Guest to wait until a flush has been
> performed on a buffer it has submitted to the Host.

This needs a virtio-spec update documenting the new feature.

> +	VIRTIO_GPU_CMD_WAIT_FLUSH,

Why a new command?

If I understand it correctly you want wait until
VIRTIO_GPU_CMD_RESOURCE_FLUSH is done.  We could
extend the VIRTIO_GPU_CMD_RESOURCE_FLUSH command
for that instead.

take care,
  Gerd



More information about the dri-devel mailing list