diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-09-09 16:04:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:59 -0400 |
commit | 5e518d7672dea4cd7c60871e40d0490c52f01d13 (patch) | |
tree | a97dc33b2ce9a0553fb6b9b3206ee7674ae4d06a /include/linux | |
parent | 53eed4ec8bcd8701b9135859ec46b10a0d88ba25 (diff) |
[PATCH] fbdev: Resurrect hooks to get EDID from firmware
For the i386, code is already present in video.S that gets the EDID from the
video BIOS. Make this visible so drivers can also use this data as fallback
when i2c does not work.
To ensure that the EDID block is returned for the primary graphics adapter
only, by check if the IORESOURCE_ROM_SHADOW flag is set.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 70da819df0f5..e3e16f43b1bb 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
@@ -859,7 +859,9 @@ extern int fb_get_mode(int flags, u32 val, struct fb_var_screeninfo *var, | |||
859 | extern int fb_validate_mode(const struct fb_var_screeninfo *var, | 859 | extern int fb_validate_mode(const struct fb_var_screeninfo *var, |
860 | struct fb_info *info); | 860 | struct fb_info *info); |
861 | extern int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var); | 861 | extern int fb_parse_edid(unsigned char *edid, struct fb_var_screeninfo *var); |
862 | extern void fb_edid_to_monspecs(unsigned char *edid, struct fb_monspecs *specs); | 862 | extern const unsigned char *fb_firmware_edid(struct device *device); |
863 | extern void fb_edid_to_monspecs(unsigned char *edid, | ||
864 | struct fb_monspecs *specs); | ||
863 | extern void fb_destroy_modedb(struct fb_videomode *modedb); | 865 | extern void fb_destroy_modedb(struct fb_videomode *modedb); |
864 | 866 | ||
865 | /* drivers/video/modedb.c */ | 867 | /* drivers/video/modedb.c */ |