summaryrefslogtreecommitdiffstats
path: root/hw/display
diff options
context:
space:
mode:
authorMarc-André Lureau2021-02-01 21:14:22 +0100
committerGerd Hoffmann2021-02-04 14:32:40 +0100
commitb577ab2dda3afc7d6a7befabcf226507ff06c17c (patch)
treed86156cd23de566ca2af068f6373820483143f93 /hw/display
parentqxl: set qxl.ssd.dcl.con on secondary devices (diff)
downloadqemu-b577ab2dda3afc7d6a7befabcf226507ff06c17c.tar.gz
qemu-b577ab2dda3afc7d6a7befabcf226507ff06c17c.tar.xz
qemu-b577ab2dda3afc7d6a7befabcf226507ff06c17c.zip
qxl: also notify the rendering is done when skipping it
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>
Diffstat (limited to 'hw/display')
-rw-r--r--hw/display/qxl-render.c1
1 files changed, 1 insertions, 0 deletions
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;
}