grub/grub-core/commands
Colin Watson 8fc4fa45c5 Preferred resolution detection for VBE.
* grub-core/video/video.c (grub_video_edid_checksum): New function.
(grub_video_edid_preferred_mode): Likewise.  Try EDID followed by
the Flat Panel extension, in line with the X.org VESA driver.
* 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_get_preferred_mode): Likewise.
(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.
(grub_video_vbe_get_edid): New function.
(grub_video_vbe_adapter): Add get_edid.
* include/grub/video.h (struct grub_vbe_edid_info): New structure.
(struct grub_video_adapter): Add get_edid.
(grub_video_edid_checksum): Add prototype.
(grub_video_edid_preferred_mode): Likewise.
* include/grub/i386/pc/vbe.h (struct grub_vbe_flat_panel_info): New
structure.

* grub-core/commands/videoinfo.c (print_edid): New function.
(grub_cmd_videoinfo): Print EDID if available.

* util/grub.d/00_header.in (GRUB_GFXMODE): Default to "auto".  This
is more appropriate on a wider range of platforms than 640x480.
* docs/grub.texi (Simple configuration): Update GRUB_GFXMODE
documentation.
2011-07-21 19:46:44 +01:00
..
arc sgi support 2011-05-13 16:36:05 +02:00
efi Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
i386 merge mainline into net 2011-07-05 20:40:39 +02:00
ieee1275 Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
mips/loongson Fuloong support. 2011-05-15 01:43:44 +02:00
acpi.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
acpihalt.c * grub-core/commands/acpihalt.c (grub_acpi_halt): Sleep for 1.5 before 2010-12-25 14:09:36 +01:00
blocklist.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
boot.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
cat.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
cmp.c * grub-core/commands/cmp.c (grub_cmd_cmp): Remove unnecessary NULL 2011-06-26 17:17:41 +02:00
configfile.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
date.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
echo.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
extcmd.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gptsync.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
halt.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hashsum.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hdparm.c merge mainline into ahci 2011-05-16 17:17:04 +02:00
help.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hexdump.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
iorw.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
keylayouts.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
keystatus.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
legacycfg.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
loadenv.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
ls.c Merge Mainline. 2011-05-27 00:23:33 -03:00
lsacpi.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
lsmmap.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
lspci.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
memrw.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
menuentry.c * grub-core/commands/menuentry.c (grub_cmd_menuentry): Correctly 2011-05-14 12:14:00 +02:00
minicmd.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
parttool.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
password.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
password_pbkdf2.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
probe.c Add backward compatibiulity with old (pxe) syntax. Several cleanups 2011-06-26 17:06:18 +02:00
read.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
reboot.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
regexp.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
search.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
search_file.c automake commit without merge history 2010-05-06 11:34:04 +05:30
search_label.c automake commit without merge history 2010-05-06 11:34:04 +05:30
search_uuid.c automake commit without merge history 2010-05-06 11:34:04 +05:30
search_wrap.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
setpci.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
sleep.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
terminal.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
test.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
testload.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
time.c Implement time command. 2011-06-27 12:31:37 +02:00
true.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
usbtest.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
videoinfo.c Preferred resolution detection for VBE. 2011-07-21 19:46:44 +01:00
videotest.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
wildcard.c * grub-core/commands/cmp.c (grub_cmd_cmp): Remove unnecessary NULL 2011-06-26 17:17:41 +02:00
xnu_uuid.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00