aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 09bb7a18d287..043f3283b71c 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -726,7 +726,9 @@ extern int fb_videomode_from_videomode(const struct videomode *vm,
726 struct fb_videomode *fbmode); 726 struct fb_videomode *fbmode);
727 727
728/* drivers/video/modedb.c */ 728/* drivers/video/modedb.c */
729#define VESA_MODEDB_SIZE 34 729#define VESA_MODEDB_SIZE 43
730#define DMT_SIZE 0x50
731
730extern void fb_var_to_videomode(struct fb_videomode *mode, 732extern void fb_var_to_videomode(struct fb_videomode *mode,
731 const struct fb_var_screeninfo *var); 733 const struct fb_var_screeninfo *var);
732extern void fb_videomode_to_var(struct fb_var_screeninfo *var, 734extern void fb_videomode_to_var(struct fb_var_screeninfo *var,
@@ -777,9 +779,17 @@ struct fb_videomode {
777 u32 flag; 779 u32 flag;
778}; 780};
779 781
782struct dmt_videomode {
783 u32 dmt_id;
784 u32 std_2byte_code;
785 u32 cvt_3byte_code;
786 const struct fb_videomode *mode;
787};
788
780extern const char *fb_mode_option; 789extern const char *fb_mode_option;
781extern const struct fb_videomode vesa_modes[]; 790extern const struct fb_videomode vesa_modes[];
782extern const struct fb_videomode cea_modes[64]; 791extern const struct fb_videomode cea_modes[64];
792extern const struct dmt_videomode dmt_modes[];
783 793
784struct fb_modelist { 794struct fb_modelist {
785 struct list_head list; 795 struct list_head list;