diff mbox series

[PULL,03/24] qxl: also notify the rendering is done when skipping it

Message ID 20210205065620.1726554-4-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,01/24] hw/display/qxl: Fix bad printf format specifiers | expand

Commit Message

Gerd Hoffmann Feb. 5, 2021, 6:55 a.m. UTC
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>
Message-Id: <20210201201422.446552-3-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/display/qxl-render.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/display/qxl-render.c b/hw/display/qxl-render.c
index 3ce2e57b8feb..d28849b12176 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;
     }