grub/grub-core
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
..
boot merge mainline into net 2011-07-06 01:35:41 +02:00
bus AHCI support. 2011-06-24 00:07:55 +02:00
commands Preferred resolution detection for VBE. 2011-07-21 19:46:44 +01:00
disk * grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Fix 2011-07-10 15:33:57 +02:00
efiemu merge mainline into ahci 2011-05-16 17:17:04 +02:00
font * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno 2011-05-14 22:29:27 +02:00
fs Display the path of the file when file is not found 2011-06-26 21:48:52 +02:00
gettext Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gfxmenu merge trunk 2011-04-21 11:07:10 +01:00
gnulib merge mainline into ahci 2011-05-16 17:17:04 +02:00
hello Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hook Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
io * grub-core/io/xzio.c: Fix code style issues 2011-06-24 22:37:17 +02:00
kern Remove getroot.c from core on emu platform. 2011-07-08 13:33:12 +02:00
lib LUKS and GELI support. 2011-07-07 23:52:58 +02:00
loader merge mainline into net 2011-07-02 18:52:50 +02:00
mmap Fuloong support. 2011-05-15 01:43:44 +02:00
net Fix a memory leak 2011-07-06 18:21:24 +02:00
normal merge mainline into net 2011-07-02 18:52:50 +02:00
partmap Fix spurious warning. 2011-06-23 20:05:39 +02:00
parttool Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
script Implement time command. 2011-06-27 12:31:37 +02:00
term merge mainline into net 2011-07-06 01:35:41 +02:00
tests Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
video Preferred resolution detection for VBE. 2011-07-21 19:46:44 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
genmoddep.awk use objcopy instead of creating mod-*.c and mod-*.o 2010-08-29 16:43:07 +05:30
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh track function symbols 2011-05-08 18:29:37 +02:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
Makefile.am merge mainline into net 2011-07-06 01:35:41 +02:00
Makefile.core.def Remove getroot.c from core on emu platform. 2011-07-08 13:33:12 +02:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00