diff options
Diffstat (limited to 'include/linux/fb.h')
| -rw-r--r-- | include/linux/fb.h | 12 |
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 | |||
| 730 | extern void fb_var_to_videomode(struct fb_videomode *mode, | 732 | extern void fb_var_to_videomode(struct fb_videomode *mode, |
| 731 | const struct fb_var_screeninfo *var); | 733 | const struct fb_var_screeninfo *var); |
| 732 | extern void fb_videomode_to_var(struct fb_var_screeninfo *var, | 734 | extern 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 | ||
| 782 | struct dmt_videomode { | ||
| 783 | u32 dmt_id; | ||
| 784 | u32 std_2byte_code; | ||
| 785 | u32 cvt_3byte_code; | ||
| 786 | const struct fb_videomode *mode; | ||
| 787 | }; | ||
| 788 | |||
| 780 | extern const char *fb_mode_option; | 789 | extern const char *fb_mode_option; |
| 781 | extern const struct fb_videomode vesa_modes[]; | 790 | extern const struct fb_videomode vesa_modes[]; |
| 782 | extern const struct fb_videomode cea_modes[64]; | 791 | extern const struct fb_videomode cea_modes[64]; |
| 792 | extern const struct dmt_videomode dmt_modes[]; | ||
| 783 | 793 | ||
| 784 | struct fb_modelist { | 794 | struct fb_modelist { |
| 785 | struct list_head list; | 795 | struct list_head list; |
