summaryrefslogtreecommitdiff
path: root/include/video/sh_mobile_lcdc.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-12-12 21:43:16 +0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-20 12:02:54 +0400
commitc5deac3c9b2284a64326e8799dfe7416bc619c02 (patch)
tree4279b885aba3bfd0554ecc026df5254d3c9c6f4d /include/video/sh_mobile_lcdc.h
parentd7ad33421863308fe7ddf865737d4d83b64e5b81 (diff)
downloadlinux-c5deac3c9b2284a64326e8799dfe7416bc619c02.tar.xz
fbdev: sh_mobile_lcdc: Implement overlays support
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/video/sh_mobile_lcdc.h')
-rw-r--r--include/video/sh_mobile_lcdc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video/sh_mobile_lcdc.h b/include/video/sh_mobile_lcdc.h
index 7571b27a0ba1..ff43ffc1aab2 100644
--- a/include/video/sh_mobile_lcdc.h
+++ b/include/video/sh_mobile_lcdc.h
@@ -166,6 +166,12 @@ struct sh_mobile_lcdc_bl_info {
int (*get_brightness)(void);
};
+struct sh_mobile_lcdc_overlay_cfg {
+ int fourcc;
+ unsigned int max_xres;
+ unsigned int max_yres;
+};
+
struct sh_mobile_lcdc_chan_cfg {
int chan;
int fourcc;
@@ -186,6 +192,7 @@ struct sh_mobile_lcdc_chan_cfg {
struct sh_mobile_lcdc_info {
int clock_source;
struct sh_mobile_lcdc_chan_cfg ch[2];
+ struct sh_mobile_lcdc_overlay_cfg overlays[4];
struct sh_mobile_meram_info *meram_dev;
};