Commit Graph

17 Commits

Author SHA1 Message Date
Gerd Hoffmann 34b6ecc160 vga: add atiext driver
Supports qemu emulated ati cards.  They have been added in qemu 4.0.
Acceleration support (in qemu) is pretty rough still.  A simple
framebuffer works fine though.

Available models:
 * ati rage 128 pro
 * ati rv100

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-03-15 09:59:21 +01:00
Gerd Hoffmann d9a8b867a3 qemu: add qemu ramfb support
Add support for qemu ramfb.  This is a simple boot framebuffer device,
with normal ram being used to back the framebuffer and fw_cfg being used
to configure the device.

Use case (on x86): boot display for vgpu devices (which neither emulate
vga nor have a vgabios).

Sharing fw_cfg code with seabios turned out to be difficuilt due to
various dependencies the code has on infrastructure which only seabios
has.  So include a copy of the code here, with those dependencies
removed and also stripped down because we don't need a non-dma fallback
here.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-06-22 07:44:07 +02:00
Gerd Hoffmann 77404b450d qemu: add bochs-display support
Use coreboot text mode emulation to also support the qemu bochs-display
device.  This is a new display device supporting simple linear
framebuffers, using the bochs register interface.  No support for legacy
vga (text modes, planar modes, cga modes, 8bpp palette modes all
dropped).  The bochs interface is compatible with the qemu stdvga.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-06-22 07:44:07 +02:00
Kevin O'Connor f24eb2f853 build: CONFIG_VGA_FIXUP_ASM should depend on CONFIG_BUILD_VGABIOS
Add the dependency to CONFIG_VGA_FIXUP_ASM so the menu option only
appears when appropriate.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-06-15 10:19:05 -04:00
Gerd Hoffmann b972a962f7 vga: add virtio-vga to kconfig
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-06-11 09:23:03 +02:00
Gerd Hoffmann 9c6edc4d27 vga: simplify vga builds
Add a kconfig menu to pick the vga variant, stick the vendorr
and device ids as defaults into Kconfig.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-06-11 09:23:03 +02:00
Kevin O'Connor 799b20b0db vgabios: Add config option for assembler fixups
Add a kconfig build option (CONFIG_VGA_FIXUP_ASM) to allow users to
build the vgabios without the complex assembler fixups that work
around emulator bugs.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-04-10 00:38:17 -04:00
Kevin O'Connor 6fed307251 vgabios: Support emulating text mode attributes while in graphics mode
Add support for simple text mode attribute emulation while in graphics
mode.  This improves text highlighting and background color on some
boot-loaders.  Enable it only for CBVGA vgabios and only when a text
mode is requested.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2014-11-12 12:17:57 -05:00
Kevin O'Connor 7c79029e43 vgabios: Initial support for coreboot native vga vgabios.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2014-04-11 11:26:23 -04:00
Kevin O'Connor efbf4d6903 vgabios: Add option to control use of standard VGA IO ports.
Add option CONFIG_VGA_STDVGA_PORTS.  When this option is disabled, the
main BIOS code will not attempt to access any of the legacy VGA IO
ports.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2014-04-11 11:26:22 -04:00
Kevin O'Connor 4a8b58cb6c vgabios: Support allocating an extra stack for vgabios calls and default on.
Add code to allocate an extra stack for the main vgabios int 0x10
entry point.  The allocation is done via the PMM spec and uses a PCI
v3 permanent low memory region request.  This request will work with
SeaBIOS - it is unknown how many other main BIOS implementations
support this PMM call.

The extra stack is useful for old DOS programs that call the VGABIOS
and expect it to work with very small amounts of stack space.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-12-04 10:34:18 -05:00
Kevin O'Connor 58b157f8fa vgabios: Bochs/QEMU vgabios support should depend on CONFIG_QEMU.
The Cirrus, Standard VGA, and Bochs VGA should depend on CONFIG_QEMU
and not CONFIG_COREBOOT.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2013-02-13 19:36:02 -05:00
Christian Gmeiner 5556f21048 geodevga: Add configuration option for output modes
Geode GX2 and LX are supporting Flat Panels. Add new
configuration options to support different output modes.
You can choose between:
* CRT
* Flat Panel
* CRT and Flat Panel

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
2012-10-07 22:04:52 -04:00
Kevin O'Connor 4562bf654c vgabios: Improve Kconfig descriptions for the vga card types.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2012-04-16 21:21:28 -04:00
Kevin O'Connor 197ea6c9b6 vgabios: Don't allow building of emulator vgaroms on coreboot.
If coreboot building is selected, don't allow the emulator based vga
roms to be selected.  Also, clarify the help text to make this clear.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2012-02-07 21:05:49 -05:00
Kevin O'Connor b3df857fe6 vgabios: Make VBE code depend on a config setting.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2012-01-16 12:02:44 -05:00
Kevin O'Connor 5f4ce9e9be vgabios: Move vgabios Kconfig definitions to vgasrc/Kconfig.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2012-01-16 12:02:39 -05:00