virtio-gpu: Support suspension of commands processing
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Thu, 24 Oct 2024 21:03:08 +0000 (00:03 +0300)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2024 16:56:35 +0000 (16:56 +0000)
commit640f9149c3dcafbfeb495a10f6105c6f71f24d1d
tree693ec931295a45f486c387b91e2d49feb9b18188
parentdf4c498e02e48c4dfc13e5d961b58f890a66c832
virtio-gpu: Support suspension of commands processing

Check whether command processing has been finished; otherwise, stop
processing commands and retry the command again next time. This allows
us to support asynchronous execution of non-fenced commands needed for
unmapping host blobs safely.

Suggested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Message-Id: <20241024210311.118220-11-dmitry.osipenko@collabora.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
hw/display/trace-events
hw/display/virtio-gpu.c