grub/util
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
..
bash-completion.d merge with mainline 2010-09-19 18:54:45 +05:30
grub.d Preferred resolution detection for VBE. 2011-07-21 19:46:44 +01:00
i386/efi Merge mainline into install 2010-09-15 14:46:53 +02:00
ieee1275 * util/ieee1275/grub-ofpathname.c (main): Handle --help and --version 2011-06-27 12:16:00 +02:00
powerpc/ieee1275 Make mktemp invocations portable. 2010-10-18 22:50:01 +02:00
bin2h.c * util/bin2h.c (main): Fix spelling error in generated output. 2010-11-02 22:51:51 +00:00
deviceiter.c 2011-06-16 Robert Millan <rmh@gnu.org> 2011-06-16 14:33:11 +02:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
getroot.c Remove getroot.c from core on emu platform. 2011-07-08 13:33:12 +02:00
grub-editenv.c * util/grub-editenv.c: Update strings to avoid warnings when generating 2010-09-21 11:17:54 +02:00
grub-fstest.c LUKS and GELI support. 2011-07-07 23:52:58 +02:00
grub-install.in * util/grub-install.in: Recognize ESP mounted at /boot/EFI. 2011-07-10 16:06:31 +02:00
grub-kbdcomp.in * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables. 2011-01-10 23:41:58 +01:00
grub-macho2img.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
grub-menulst2cfg.c * util/grub-menulst2cfg.c: Add missing include of misc.h. 2011-01-10 23:57:49 +01:00
grub-mkconfig.in LUKS and GELI support. 2011-07-07 23:52:58 +02:00
grub-mkconfig_lib.in LUKS and GELI support. 2011-07-07 23:52:58 +02:00
grub-mkdevicemap.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-mkfont.c * util/grub-mkfont.c (write_font_pf2): Use appropriate type for data 2011-01-12 12:49:16 +01:00
grub-mkimage.c merge mainline into net 2011-07-06 01:35:41 +02:00
grub-mkimagexx.c Fix LTOFF relocation to functions (needed for trampolines) 2011-05-08 17:07:40 +02:00
grub-mklayout.c * util/grub-mklayout.c (console_grub_equivalences_shift): Terminate 2011-01-11 09:08:57 -06:00
grub-mknetdir.in mknetdir support for EFI 2011-06-26 22:47:05 +02:00
grub-mkpasswd-pbkdf2.c LUKS and GELI support. 2011-07-07 23:52:58 +02:00
grub-mkrelpath.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
grub-mkrescue.in * util/grub-mkrescue.in: Rename "ata" to "pata" and add ahci when 2011-06-27 09:06:15 +02:00
grub-pe2elf.c Handle module_license on windows. 2011-05-14 17:47:59 +02:00
grub-probe.c Integrate geli into autoconfiguration system 2011-04-25 14:52:07 +02:00
grub-reboot.in Add new --boot-directory option to replace --root-directory 2010-09-08 17:25:29 +02:00
grub-script-check.c print line number on error 2010-12-03 08:55:57 +05:30
grub-set-default.in Add new --boot-directory option to replace --root-directory 2010-09-08 17:25:29 +02:00
grub-setup.c automatic raid members addition 2011-04-22 13:55:30 +02:00
import_gcry.py fix bug caused by import_gcry modifications 2011-04-23 02:01:39 +02:00
import_unicode.py * util/import_unicode.py: Remove unnecessary imports. 2010-07-17 19:27:18 +01:00
lvm.c automake commit without merge history 2010-05-06 11:34:04 +05:30
misc.c merge with mainline 2010-08-19 16:54:00 +05:30
raid.c Remove getroot.c from core on emu platform. 2011-07-08 13:33:12 +02:00
resolve.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
update-grub_lib.in Use @PACKAGE@ instead of hardcoded name when sourcing grub-mkconfig_lib. 2011-07-02 21:22:19 +02:00