50 lines
1.8 KiB
Diff
50 lines
1.8 KiB
Diff
From 51c6fc79d712c73bfeec2e4ff6779da3cab649fd Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
Date: Mon, 1 Mar 2021 08:39:20 -0500
|
|
Subject: [PATCH 2/4] qxl: also notify the rendering is done when skipping it
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Message-id: <20210301083920.895324-3-marcandre.lureau@redhat.com>
|
|
Patchwork-id: 101275
|
|
O-Subject: [RHEL-AV-8.4.0 qemu-kvm PATCH 2/2] qxl: also notify the rendering is done when skipping it
|
|
Bugzilla: 1932190
|
|
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
RH-Acked-by: Sergio Lopez Pascual <slp@redhat.com>
|
|
|
|
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>
|
|
|
|
(cherry picked from commit b577ab2dda3afc7d6a7befabcf226507ff06c17c)
|
|
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Signed-off-by: Danilo C. L. de Paula <ddepaula@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.27.0
|
|
|