aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index c7a95714b1f..4629edc9e53 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -45,6 +45,8 @@ struct file;
45 45
46#define FB_MISC_PRIM_COLOR 1 46#define FB_MISC_PRIM_COLOR 1
47#define FB_MISC_1ST_DETAIL 2 /* First Detailed Timing is preferred */ 47#define FB_MISC_1ST_DETAIL 2 /* First Detailed Timing is preferred */
48#define FB_MISC_HDMI 4 /* display supports HDMI signaling */
49
48struct fb_chroma { 50struct fb_chroma {
49 __u32 redx; /* in fraction of 1024 */ 51 __u32 redx; /* in fraction of 1024 */
50 __u32 greenx; 52 __u32 greenx;
@@ -217,6 +219,10 @@ struct fb_deferred_io {
217}; 219};
218#endif 220#endif
219 221
222#define FB_FLAG_RATIO_4_3 64
223#define FB_FLAG_RATIO_16_9 128
224#define FB_FLAG_PIXEL_REPEAT 256
225
220/* 226/*
221 * Frame buffer operations 227 * Frame buffer operations
222 * 228 *
@@ -716,6 +722,8 @@ extern unsigned char *fb_ddc_read(struct i2c_adapter *adapter);
716 722
717/* drivers/video/modedb.c */ 723/* drivers/video/modedb.c */
718#define VESA_MODEDB_SIZE 34 724#define VESA_MODEDB_SIZE 34
725#define CEA_MODEDB_SIZE 65
726
719extern void fb_var_to_videomode(struct fb_videomode *mode, 727extern void fb_var_to_videomode(struct fb_videomode *mode,
720 const struct fb_var_screeninfo *var); 728 const struct fb_var_screeninfo *var);
721extern void fb_videomode_to_var(struct fb_var_screeninfo *var, 729extern void fb_videomode_to_var(struct fb_var_screeninfo *var,
@@ -768,7 +776,7 @@ struct fb_videomode {
768 776
769extern const char *fb_mode_option; 777extern const char *fb_mode_option;
770extern const struct fb_videomode vesa_modes[]; 778extern const struct fb_videomode vesa_modes[];
771extern const struct fb_videomode cea_modes[64]; 779extern const struct fb_videomode cea_modes[];
772 780
773struct fb_modelist { 781struct fb_modelist {
774 struct list_head list; 782 struct list_head list;