update gpu driver
author杜坤明 <dkm@rock-chips.com>
Wed, 8 Dec 2010 12:17:21 +0000 (20:17 +0800)
committer杜坤明 <dkm@rock-chips.com>
Wed, 8 Dec 2010 12:17:21 +0000 (20:17 +0800)
drivers/staging/rk29/vivante/Makefile
drivers/staging/rk29/vivante/hal/os/linux/kernel/gc_hal_kernel_driver.c

index 005cd88e5730f0d693dc1e22ed76c4907dcb086c..9aa5dfade07e11e74bffdb8240f8fa26669f9fb9 100644 (file)
@@ -36,8 +36,8 @@ USE_PROFILER    ?= 0
 USE_SW_FB       ?= 0
 USE_3D_VG              =1
 ABI             ?= 0
-ANDROID         ?= 0
-EGL_API_ANDROID ?= 0
+ANDROID         ?= 1
+EGL_API_ANDROID ?= 1
 ENUM_WORKAROUND ?= 0
 ENDIANNESS             ?=
 QNX             ?= 0
@@ -58,7 +58,7 @@ NO_DMA_COHERENT ?= 0
 ################################################################
 # Set this value to 1 if you are using ARM L2 cache.
 
-ENABLE_ARM_L2_CACHE    = 0
+ENABLE_ARM_L2_CACHE    = 1
 
 ################################################################
 # Set this value to 1 if you are using DOVE board.
index 684123cbcb0c24d5db9e6bdb6185ac1b0a6e38ef..47c01cde9e2f274f73177fb5f8c94be32a73d264 100644 (file)
@@ -479,7 +479,7 @@ static int drv_init(void)
         return -ENODEV;
     }
     /* APMU_GC_156M, APMU_GC_624M, APMU_GC_PLL2, APMU_GC_PLL2_DIV2 currently */
-    if (clk_set_rate(clk_gpu, 312000000))  //designed on 500M
+    if (clk_set_rate(clk_gpu, 624000000))  //designed on 500M
     {
                gcmkTRACE_ZONE(gcvLEVEL_ERROR, gcvZONE_DRIVER,
                      "[galcore] Can't set core clock.");