aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArtem Rudenko <artemrudenko@ti.com>2012-04-23 15:25:22 +0300
committerRoman Shaposhnikov <x0166637@ti.com>2012-06-07 20:21:24 +0300
commit406d8de9fe5b5235ecd8e9805b66138ab26ab2cd (patch)
treee3391f5169fc3549e2e05403f92fc5ffbf297bd2 /include/video
parentf17f8bb09b2ec5c5c333fc8cf3f413e67fc283eb (diff)
downloadkernel_samsung_espresso10-406d8de9fe5b5235ecd8e9805b66138ab26ab2cd.zip
kernel_samsung_espresso10-406d8de9fe5b5235ecd8e9805b66138ab26ab2cd.tar.gz
kernel_samsung_espresso10-406d8de9fe5b5235ecd8e9805b66138ab26ab2cd.tar.bz2
OMAPDSS:DSSCOMP: Add mem2mem write back support.
Added mem2mem wb mode. Patch supports capturing from pipes. Change-Id: Ia4f30e3e163023832b3b9e91d5d67ffe8ffd7365 Signed-off-by: Artem Rudenko <artemrudenko@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/dsscomp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/video/dsscomp.h b/include/video/dsscomp.h
index c5f8ec9..04a4649 100644
--- a/include/video/dsscomp.h
+++ b/include/video/dsscomp.h
@@ -56,6 +56,22 @@ enum omap_color_mode {
OMAP_DSS_COLOR_XRGB16_1555 = 1 << 18, /* xRGB16-1555 */
};
+/* Writeback data structures */
+enum omap_writeback_source {
+ OMAP_WB_LCD1 = 0,
+ OMAP_WB_TV = 1,
+ OMAP_WB_LCD2 = 2,
+ OMAP_WB_GFX = 3,
+ OMAP_WB_VID1 = 4,
+ OMAP_WB_VID2 = 5,
+ OMAP_WB_VID3 = 6
+};
+
+enum omap_writeback_mode {
+ OMAP_WB_CAPTURE_MODE = 0x0,
+ OMAP_WB_MEM2MEM_MODE = 0x1,
+};
+
enum omap_dss_trans_key_type {
OMAP_DSS_COLOR_KEY_GFX_DST = 0,
OMAP_DSS_COLOR_KEY_VID_SRC = 1,
@@ -334,6 +350,8 @@ struct dss2_ovl_cfg {
struct omap_dss_cconv_coefs cconv;
struct dss2_vc1_range_map_info vc1;
+ __u8 wb_source; /* pipe: is source or not, wb: capture device id */
+ enum omap_writeback_mode wb_mode;
__u8 ix; /* ovl index same as sysfs/overlay# */
__u8 zorder; /* 0..3 */
__u8 enabled; /* bool */