mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 18:49:22 +00:00
grub_video_get_edid is not usable from grub_vbe_get_preferred_mode, as a
video adapter has not necessarily yet been set. Use grub_video_vbe_get_edid and grub_video_edid_checksum directly instead. Remove grub_video_get_edid as it now has no users. Reported by: Marjo Mercado.
This commit is contained in:
1 parent
cb918eddf4
commit
9b300caf84
4 files changed
+21
-41
No files matched your search
@@ -1,9 +1,8 @@
|
||||
2011-01-15 Colin Watson <cjwatson@ubuntu.com>
|
||||
2011-01-17 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
Preferred resolution detection for VBE.
|
||||
|
||||
* grub-core/video/video.c (grub_video_edid_checksum): New function.
|
||||
(grub_video_get_edid): Likewise.
|
||||
(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):
|
||||
@@ -21,7 +20,6 @@
|
||||
* 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_get_edid): Likewise.
|
||||
(grub_video_edid_preferred_mode): Likewise.
|
||||
* include/grub/i386/pc/vbe.h (struct grub_vbe_flat_panel_info): New
|
||||
structure.
|
||||
|
||||
Reference in new issue
Block a user