#include "../../../drivers/staging/android/timed_gpio.h"
#endif
+#ifdef CONFIG_THREE_FB_BUFFER
#define RK30_FB0_MEM_SIZE 12*SZ_1M
+#else
+#define RK30_FB0_MEM_SIZE 8*SZ_1M
+#endif
#ifdef CONFIG_VIDEO_RK29
/*---------------- Camera Sensor Macro Define Begin ------------------------*/
default y if HDMI_RK30
help
select y will implement dual screen display in kernel
+
+config THREE_FB_BUFFER
+ bool "Three fb buffer support"
+ depends on FB_ROCKCHIP
+ default y
+ help
+ select y if android support three buffer,like Jelly Bean
source "drivers/video/rockchip/hdmi/Kconfig"
source "drivers/video/rockchip/rga/Kconfig"
#define FBIOPUT_SET_CURSOR_CMAP 0x460c
#define FBIOPUT_GET_CURSOR_RESOLUTION 0x460d
#define FBIOPUT_GET_CURSOR_EN 0x460e
-#define FBIOPUT_NUM_BUFFERS 0x460f
+#define FBIOPUT_NUM_BUFFERS 0x4625
#ifdef __KERNEL__
#define FBIO_CURSOR _IOWR('F', 0x08, struct fb_cursor_user)