mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
rkfb:add three buffer support for menuconfig,redefine FBIOPUT_NUM_BUFFERS 0x4625
This commit is contained in:
@@ -64,7 +64,11 @@
|
||||
#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 ------------------------*/
|
||||
|
||||
@@ -40,5 +40,12 @@ config DUAL_DISP_IN_KERNEL
|
||||
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"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#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)
|
||||
|
||||
Reference in New Issue
Block a user