summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2011-05-16 11:48:20 +0800
committerLiu Ying <Ying.Liu@freescale.com>2011-05-16 15:57:37 +0800
commitfb0bc5a39d7d7ce9dc41e4775ae211c952a02658 (patch)
treef2f6e4aea3706b5d83a3e5ca1c25a03f34443402 /include
parent91fa49f529b24f57eba1c0bdf234237829be362b (diff)
ENGR00142551-2 IPUv3FB:Android 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) Sometimes HW doesn't clear buffer ready bit which is supposed to be, so we clear it in EOF handler to workaround it. 3) When V4L2 output/overlay are used, switch to double buffer mode. Signed-off-by: Liu Ying <Ying.Liu@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;