diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-25 10:51:37 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-15 09:59:21 +0100 |
commit | 34b6ecc160749a691b80fcb8638216518d971c65 (patch) | |
tree | 344ac2b8b088553232e254fac2333d425f7e8e37 /vgasrc/vgautil.h | |
parent | 03f5061c0a44dcf8d73a05a6f375e3fe5005f050 (diff) | |
download | seabios-34b6ecc160749a691b80fcb8638216518d971c65.tar.gz |
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>
Diffstat (limited to 'vgasrc/vgautil.h')
-rw-r--r-- | vgasrc/vgautil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h index 4f37bf94..a9940402 100644 --- a/vgasrc/vgautil.h +++ b/vgasrc/vgautil.h @@ -42,6 +42,12 @@ struct bregs; void clext_1012(struct bregs *regs); int clext_setup(void); +// atiext.c +struct vgamode_s *ati_find_mode(int mode); +void ati_list_modes(u16 seg, u16 *dest, u16 *last); +int ati_set_mode(struct vgamode_s *vmode_g, int flags); +int ati_setup(void); + // stdvgaio.c u8 stdvga_pelmask_read(void); void stdvga_pelmask_write(u8 val); |