summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-05-03 14:19:22 +0800
committerAlan Tull <alan.tull@freescale.com>2011-06-03 16:41:45 -0500
commitb4cd99a43d4c84a9a194b3e12a14b526f60b66b7 (patch)
tree4f49822510b8c3229790835f135d7deac52a25d0 /include
parent2f68ab15a9bccad1be2c1dc485b4c39233ef6766 (diff)
ENGR00142551-2 IPUv3 FB:Support HW triple buffer
This patch supports HW triple buffer for IPUv3 framebuffer. 1) Remove buf ready check in EOF irq handler, as we think the swap logic will not fail for HW triple buffer case. 2) When V4L2 output/overlay are used, switch to double buffer mode. 3) Changes IPU interface for IPUv1 framebuffer to pass building. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxcfb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h
index 3c70c0080f14..d56ad35f1ddc 100644
--- a/include/linux/mxcfb.h
+++ b/include/linux/mxcfb.h
@@ -29,6 +29,8 @@
#define FB_SYNC_CLK_IDLE_EN 0x10000000
#define FB_SYNC_SHARP_MODE 0x08000000
#define FB_SYNC_SWAP_RGB 0x04000000
+#define FB_ACCEL_TRIPLE_FLAG 0x00000000
+#define FB_ACCEL_DOUBLE_FLAG 0x00000001
struct mxcfb_gbl_alpha {
int enable;