projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa5c2c
)
vga: update vga register setup on vbe changes
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 26 Apr 2016 13:39:22 +0000
(15:39 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 2 May 2016 14:02:59 +0000
(16:02 +0200)
Call the new vbe_update_vgaregs() function on vbe configuration
changes, to make sure vga registers are up-to-date.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/vga.c
patch
|
blob
|
history
diff --git
a/hw/display/vga.c
b/hw/display/vga.c
index e12f5ac9dceea5250a7c15a55330c63462b88ee3..eeeb9c8861a3ea661fbc3066747ec5756cf19196 100644
(file)
--- a/
hw/display/vga.c
+++ b/
hw/display/vga.c
@@
-763,6
+763,7
@@
void vbe_ioport_write_data(void *opaque, uint32_t addr, uint32_t val)
case VBE_DISPI_INDEX_Y_OFFSET:
s->vbe_regs[s->vbe_index] = val;
vbe_fixup_regs(s);
+ vbe_update_vgaregs(s);
break;
case VBE_DISPI_INDEX_BANK:
val &= s->vbe_bank_mask;