]> xenbits.xensource.com Git - qemu-upstream-4.6-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:42:36 +0000 (17:42 +0100)
commit7056d19f7b9a729708ce9ed62adb8c53593c890c
tree02c980338a60971731a681274e4ac10519c2d018
parentf2236c649195f2e489db9a07a5c1d41baea233c6
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