diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2011-05-24 10:04:02 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2011-05-24 10:16:28 +0800 |
commit | 561cf0b4dc33993eb68eaede9c28585760fbcc5a (patch) | |
tree | cbbf905a39a1ee071e0057c55527f47485e32d99 /include | |
parent | 4f93e8429c9c53c0f89bcbd24e006e43948b847e (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>
(cherry picked from commit 4ada3031e13207902f8c90b33c082759889cb22a)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxcfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h index c097eef9f6e2..c7c555b69de1 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; |