summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <b17645@freescale.com>2009-07-13 15:41:36 +0800
committerJason Chen <b02280@freescale.com>2009-08-27 10:41:51 +0800
commit3f54b1f3e97dd9e302574fa24b74bf33182b5537 (patch)
treedab3fd211ec35063c35c91e1b786ebb8c54c8105 /include
parent45bf725c596b43a7173f040df0227be733cce744 (diff)
ENGR00113878 IPUv3:Support DP alpha blending
Support DP alpha blending with alpha value contained in separate channel. Signed-off-by: Liu Ying <b17645@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipu.h2
-rw-r--r--include/linux/mxcfb.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h
index 2f9fa4380593..f9216bbe2178 100644
--- a/include/linux/ipu.h
+++ b/include/linux/ipu.h
@@ -426,6 +426,7 @@ typedef union {
bool interlaced;
uint32_t in_pixel_fmt;
uint32_t out_pixel_fmt;
+ bool alpha_chan_en;
} mem_dp_bg_sync;
struct {
uint32_t temp;
@@ -435,6 +436,7 @@ typedef union {
bool interlaced;
uint32_t in_pixel_fmt;
uint32_t out_pixel_fmt;
+ bool alpha_chan_en;
} mem_dp_fg_sync;
struct {
uint32_t di;
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h
index c91ef8699f18..cd21213468a3 100644
--- a/include/linux/mxcfb.h
+++ b/include/linux/mxcfb.h
@@ -35,6 +35,11 @@ struct mxcfb_gbl_alpha {
int alpha;
};
+struct mxcfb_loc_alpha {
+ int enable;
+ unsigned long alpha_phy_addr;
+};
+
struct mxcfb_color_key {
int enable;
__u32 color_key;
@@ -49,7 +54,8 @@ struct mxcfb_pos {
#define MXCFB_SET_GBL_ALPHA _IOW('F', 0x21, struct mxcfb_gbl_alpha)
#define MXCFB_SET_CLR_KEY _IOW('F', 0x22, struct mxcfb_color_key)
#define MXCFB_SET_OVERLAY_POS _IOW('F', 0x24, struct mxcfb_pos)
-#define MXCFB_GET_FB_IPU_CHAN _IOR('F', 0x25, u_int32_t)
+#define MXCFB_GET_FB_IPU_CHAN _IOR('F', 0x25, u_int32_t)
+#define MXCFB_SET_LOC_ALPHA _IOWR('F', 0x26, struct mxcfb_loc_alpha)
#ifdef __KERNEL__