vaseboot/include/grub/i386/pc
Colin Watson e03f549b3e Preferred resolution detection for VBE.
* grub-core/video/i386/pc/vbe.c (grub_vbe_bios_get_flat_panel_info):
New function.
(grub_vbe_bios_get_ddc_capabilities): Likewise.
(grub_vbe_bios_read_edid): Likewise.
(grub_vbe_edid_checksum): Likewise.
(grub_vbe_get_preferred_mode): Likewise.  Try EDID followed by the
Flat Panel extension, in line with the X.org VESA driver.
(grub_video_vbe_setup): When the mode is "auto", try to get the
preferred mode from VBE, and use the largest mode that is no larger
than the preferred mode (some BIOSes expose a preferred mode that is
not in their mode list!).  If this fails, fall back to 640x480 as a
safe conservative choice.
* include/grub/i386/pc/vbe.h (struct grub_vbe_flat_panel_info): New
structure.
(struct grub_vbe_edid_info): Likewise.
(grub_vbe_bios_get_flat_panel_info): Add prototype.
(grub_vbe_bios_get_ddc_capabilities): Likewise.
(grub_vbe_bios_read_edid): Likewise.

* util/grub.d/00_header.in (GRUB_GFXMODE): Default to "auto".  This
is more appropriate on a wider range of platforms than 640x480.
2010-12-14 16:22:19 +00:00
..
apm.h Implement APM 2010-09-15 11:42:18 +02:00
biosdisk.h Remove useless prototypes 2010-08-30 16:26:05 +02:00
biosnum.h 2009-06-11 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-11 16:13:39 +00:00
boot.h Fix various issues created by previous commits 2010-04-26 10:56:12 +02:00
chainloader.h 2009-03-21 Bean <bean123ch@gmail.com> 2009-03-21 08:39:59 +00:00
console.h Remove checkkey on term level 2010-08-23 12:07:49 +02:00
int.h Implement APM 2010-09-15 11:42:18 +02:00
kernel.h Some cleanups 2010-04-26 21:11:16 +02:00
loader.h Remove i386/loader.h 2010-01-12 22:22:36 +01:00
memory.h Reorganise memory map handling 2010-09-04 17:10:10 +02:00
pxe.h Fix grub_pxe_scan. 2010-09-02 15:47:03 +02:00
time.h 2007-10-22 Robert Millan <rmh@aybabtu.com> 2007-10-22 19:59:33 +00:00
vbe.h Preferred resolution detection for VBE. 2010-12-14 16:22:19 +00:00
vesa_modes_table.h Implement APM 2010-09-15 11:42:18 +02:00
vga.h intwrap vbe and vga calls 2010-04-04 14:24:50 +02:00