From f31521dd9b824bb4635c2f5bf689b18fc6c0f2d6 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Wed, 9 Apr 2003 21:20:26 -0700 Subject: [FBDEV] EDID support from OpenFirmware on PPC platoforms and from the BIOS on intel platforms. --- include/linux/fb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/linux') diff --git a/include/linux/fb.h b/include/linux/fb.h index 5815d65d630b..654e85f12a16 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -504,6 +504,15 @@ extern int fb_get_mode(int flags, u32 val, struct fb_var_screeninfo *var, struct fb_info *info); extern int fb_validate_mode(struct fb_var_screeninfo *var, struct fb_info *info); +extern int parse_edid(unsigned char *edid, struct fb_var_screeninfo *var); +extern int fb_get_monitor_limits(unsigned char *edid, struct fb_monspecs *specs); +extern struct fb_videomode *fb_create_modedb(unsigned char *edid, int *dbsize); +extern void fb_destroy_modedb(struct fb_videomode *modedb); +extern void show_edid(unsigned char *edid); + +/* drivers/video/modedb.c */ +#define VESA_MODEDB_SIZE 34 +extern const struct fb_videomode vesa_modes[]; /* drivers/video/fbcmap.c */ extern int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp); -- cgit v1.2.3