rk29: sdk: ui pmem set to 48m for 1024x768 screen
author黄涛 <huangtao@rock-chips.com>
Thu, 15 Sep 2011 09:02:38 +0000 (17:02 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 15 Sep 2011 09:08:54 +0000 (17:08 +0800)
arch/arm/mach-rk29/board-rk29-ddr3sdk.c
arch/arm/mach-rk29/board-rk29sdk.c

index b74587b1aeb3607fc27b2a6b47cb4940a4c60d18..b385a7df0bb1bc680b71869ea67c8affd9effd83 100755 (executable)
 #define SDRAM_SIZE          SZ_512M
 #endif
 #define PMEM_GPU_SIZE       SZ_64M
-#define PMEM_UI_SIZE        SZ_32M
+#define PMEM_UI_SIZE        (48 * SZ_1M) /* 1280x800: 64M 1024x768: 48M ... */
 #define PMEM_VPU_SIZE       SZ_64M
 #define PMEM_SKYPE_SIZE     0
 #define PMEM_CAM_SIZE       PMEM_CAM_NECESSARY
index 9d5332c75d7bf205eac15327a16ba13d0c0cb191..f2339f06cea2fc7dc3b48e9e44b5e2eed3514f7d 100644 (file)
@@ -99,7 +99,7 @@
 #define SDRAM_SIZE          SZ_512M
 #endif
 #define PMEM_GPU_SIZE       SZ_64M
-#define PMEM_UI_SIZE        SZ_32M
+#define PMEM_UI_SIZE        (48 * SZ_1M) /* 1280x800: 64M 1024x768: 48M ... */
 #define PMEM_VPU_SIZE       SZ_64M
 #define PMEM_CAM_SIZE       PMEM_CAM_NECESSARY
 #ifdef CONFIG_VIDEO_RK29_WORK_IPP