[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode |
Date: |
Tue, 12 Mar 2013 11:32:36 +0100 |
Ask the vga core to update the display. Will trigger dpy_gfx_resize
if needed. More complete than just calling dpy_gfx_resize.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/qxl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index 54a8d91..5d830f0 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1073,8 +1073,8 @@ static void qxl_enter_vga_mode(PCIQXLDevice *d)
trace_qxl_enter_vga_mode(d->id);
qemu_spice_create_host_primary(&d->ssd);
d->mode = QXL_MODE_VGA;
- dpy_gfx_resize(d->ssd.ds);
vga_dirty_log_start(&d->vga);
+ vga_hw_update();
}
static void qxl_exit_vga_mode(PCIQXLDevice *d)
--
1.7.9.7
- [Qemu-devel] [PATCH 00/18] console: data structures overhaul, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 04/18] qxl: zap qxl0 global, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 03/18] spice: zap sdpy global, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 06/18] sdl: drop dead code, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 01/18] console: fix displaychangelisteners interface, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 02/18] console: kill DisplayState->opaque, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 05/18] qxl: better vga init in enter_vga_mode,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 10/18] gtk: stop using DisplayState, Gerd Hoffmann, 2013/03/12
- [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/12
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Jan Kiszka, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Jan Kiszka, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Jan Kiszka, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Jan Kiszka, 2013/03/25
- Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation, Gerd Hoffmann, 2013/03/25