]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
vga: factor out vga register setup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Apr 2016 13:24:18 +0000 (15:24 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 9 May 2016 16:58:06 +0000 (17:58 +0100)
commitebc8f82b851d0f020dcbde7332d0fcc5e15e5ef8
treed4df0d56505b4675a8f983bcadc48a8b05c9e57f
parent52e9a013642a109d320c09a27d1dbc991b2df4aa
vga: factor out vga register setup

When enabling vbe mode qemu will setup a bunch of vga registers to make
sure the vga emulation operates in correct mode for a linear
framebuffer.  Move that code to a separate function so we can call it
from other places too.

upstream-commit-id: 7fa5c2c5dc9f9bf878c1e8669eb9644d70a71e71

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/display/vga.c