grub/grub-core/video
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
..
emu Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
fb Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
i386/pc Preferred resolution detection for VBE. 2011-07-21 19:46:44 +01:00
readers * grub-core/commands/cmp.c (grub_cmd_cmp): Remove unnecessary NULL 2011-06-26 17:17:41 +02:00
bitmap.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
bitmap_scale.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
bochs.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
cirrus.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
colors.c * grub-core/disk/ahci.c: Add missing license statements. 2011-06-24 00:29:21 +02:00
efi_gop.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
efi_uga.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
ieee1275.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
sis315_init.c Fuloong video init support. 2011-05-16 02:34:58 +02:00
sis315pro.c Fuloong video init support. 2011-05-16 02:34:58 +02:00
sm712.c merge with mainline 2010-08-19 16:54:00 +05:30
sm712_init.c merge with mainline 2010-08-19 16:54:00 +05:30
video.c merge trunk 2011-05-18 16:53:36 +01:00