]> www.infradead.org Git - qemu-nvme.git/commitdiff
qxl: also notify the rendering is done when skipping it
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 1 Feb 2021 20:14:22 +0000 (00:14 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Feb 2021 13:32:40 +0000 (14:32 +0100)
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

index 3ce2e57b8febf3c29eb026a6c7804f139469ea5d..d28849b121763600d219623213801ee02a847856 100644 (file)
@@ -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;
     }