#else
#define SDRAM_SIZE SZ_512M
#endif
-#define PMEM_GPU_SIZE SZ_48M\r
+#define PMEM_GPU_SIZE SZ_64M\r
#define PMEM_UI_SIZE SZ_32M\r
#define PMEM_VPU_SIZE SZ_32M\r
#define PMEM_CAM_SIZE SZ_16M\r
[1] = {\r
.name = "gpu_base",\r
.start = RK29_GPU_PHYS,\r
- .end = RK29_GPU_PHYS + (256 << 10),\r
+ .end = RK29_GPU_PHYS + RK29_GPU_PHYS_SIZE,\r
.flags = IORESOURCE_MEM,\r
},\r
[2] = {\r
SDK_DIR ?= $(AQROOT)/build/sdk
USE_3D_VG = 1
-DEBUG = 1
+DEBUG = 0
+gcdkREPORT_VIDMEM_USAGE = 1
#DRIVER_OUT_DIR = hal/driver
#KERNEL_DIR ?= $(TOOL_DIR)/kernel
device->contiguousSize = ContiguousSize;
device->contiguousBase = (gctPOINTER) ioremap_nocache(ContiguousBase, ContiguousSize);
device->contiguousMapped = gcvTRUE;
+ printk(">>>> gckGALDEVICE_Construct device (contiguousBase=0x%08x, contiguousSize=0x%08x) \n",
+ (u32)device->contiguousBase, (u32)device->contiguousSize);
if (device->contiguousBase == gcvNULL)
{
long bankSize = 32 << 20;
module_param(bankSize, long, 0644);
-int fastClear = -1;
+int fastClear = 0; //-1;
module_param(fastClear, int, 0644);
int compression = -1;
fbprintk(">>>>>> %s : %s\n", __FILE__, __FUNCTION__);
+ *(volatile u32 *)(RK29_GRF_BASE+0xac) = ((*(volatile u32 *)(RK29_GRF_BASE+0xac)) & ~0x3FF) | 0x246;
+
/* Malloc rk29fb_inf and set it to pdev for drvdata */
fbprintk(">> Malloc rk29fb_inf and set it to pdev for drvdata \n");
inf = kmalloc(sizeof(struct rk29fb_inf), GFP_KERNEL);