[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] qxl: also notify the rendering is done when skipping it
From: |
marcandre . lureau |
Subject: |
[PATCH 2/2] qxl: also notify the rendering is done when skipping it |
Date: |
Tue, 2 Feb 2021 00:14:22 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Asynchronous handlers may be waiting for the graphic_hw_update_done() to
be called in this case too.
Fixes: 4d6316218 ("console: add graphic_hw_update_done()")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
hw/display/qxl-render.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/display/qxl-render.c b/hw/display/qxl-render.c
index 3ce2e57b8f..d28849b121 100644
--- a/hw/display/qxl-render.c
+++ b/hw/display/qxl-render.c
@@ -181,6 +181,7 @@ void qxl_render_update(PCIQXLDevice *qxl)
qxl->mode == QXL_MODE_UNDEFINED) {
qxl_render_update_area_unlocked(qxl);
qemu_mutex_unlock(&qxl->ssd.lock);
+ graphic_hw_update_done(qxl->ssd.dcl.con);
return;
}
--
2.29.0