modify rga soft_reset delay to 3 us
authorzsq <zsq@rock-chips.com>
Thu, 10 May 2012 07:00:15 +0000 (15:00 +0800)
committerzsq <zsq@rock-chips.com>
Thu, 10 May 2012 07:00:15 +0000 (15:00 +0800)
drivers/video/rockchip/rga/rga_drv.c
drivers/video/rockchip/rga/rga_mmu_info.c

index 5cabff17c50db5f31728af4b0542160140d046c7..e79a5dc8f6a78f84b4b311c1a8d2677440258c1b 100755 (executable)
@@ -566,7 +566,7 @@ static void rga_try_set_reg(uint32_t num)
         return;\r
     }\r
 \r
-    udelay(100);\r
+    udelay(3);\r
         \r
        spin_lock_irqsave(&rga_service.lock, flag);\r
        if (!list_empty(&rga_service.waiting)) \r
index b5972a40f03c479385025fb8710850fa08211c51..468897df6351c68a3f153908456213e3dee87346 100755 (executable)
 #include <linux/mman.h>\r
 #include <linux/sched.h>\r
 #include <linux/slab.h>\r
+#include <linux/memory.h>\r
+#include <linux/dma-mapping.h>\r
+#include <asm/memory.h>\r
 #include <asm/atomic.h>\r
-\r
-\r
+#include <asm/cacheflush.h>\r
 #include "rga_mmu_info.h"\r
 \r
 extern rga_service_info rga_service;\r
-extern int mmu_buff_temp[1024];\r
+//extern int mmu_buff_temp[1024];\r
 \r
 #define KERNEL_SPACE_VALID    0xc0000000\r
 \r