Skip to contentSkip to conversation

FB: added a structure for CPU interface to linux/fb.h

PATCH New Inki Dae 1 participant 1 message Nov 19, 2010 Framebuffer layer

lore
Share & tools
lore

Inki Dae

author
#0 lore raw

PATCH 1/3 FB: added a structure for CPU interface to linux/fb.h

FB: added a structure for CPU interface to linux/fb.h

RGB or CPU interfaces could be used as display mode but framebuffer framework doesn't consider CPU interface so I added this structure because fb_cpumode structure could be used commonly.

---
 include/linux/fb.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
include/linux/fb.h +12 -0
index 7fca3dc..9b9842c 100644
@@ -1147,6 +1147,18 @@ struct fb_videomode {
 	u32 flag;
 };
 
+struct fb_cpumode {
+	const char *name;	/* optional */
+	u32 refresh;		/* optional */
+	u32 xres;
+	u32 yres;
+	u32 pixclock;
+	u32 cs_setup;
+	u32 wr_setup;
+	u32 wr_act;
+	u32 wr_hold;
+};
+
 extern const char *fb_mode_option;
 extern const struct fb_videomode vesa_modes[];
 
Signature · 1 line
1.5.4.3