enable gpu's fastclear function
author杜坤明 <dkm@rockchip.com>
Fri, 31 Dec 2010 02:00:51 +0000 (10:00 +0800)
committer杜坤明 <dkm@rockchip.com>
Fri, 31 Dec 2010 02:00:51 +0000 (10:00 +0800)
drivers/staging/rk29/vivante/hal/os/linux/kernel/gc_hal_kernel_driver.c
drivers/staging/rk29/vivante/hal/os/linux/kernel/gc_hal_kernel_os.c

index 38f5f6e335a48d3baefc7c0b6ca15a41f00f2aed..07735ddefc0b2ab53a7d9aec9e5e1aa8b4437407 100644 (file)
@@ -63,7 +63,7 @@ module_param(contiguousBase, ulong, 0644);
 long bankSize = 32 << 20;
 module_param(bankSize, long, 0644);
 
-int fastClear = 0;  //-1;
+int fastClear = -1;
 module_param(fastClear, int, 0644);
 
 int compression = -1;
index 04c281491d234c627dd45115c6b523b8af0f3bb5..22bb37337d03365b86e572f052d24c69e0acee6b 100644 (file)
@@ -2673,6 +2673,8 @@ gceSTATUS gckOS_AllocatePagedMemoryEx(
             if(addr) {
                 g_pages_alloced += numPages;
                 //printk("alloc %d / %d \n", numPages, g_pages_alloced);
+            } else {
+                printk("gpu : alloc %d fail! (%d/8192)\n", numPages,  g_pages_alloced);
             }
         }
 #else