From 1b7915b99771366d31e0ce43b74aa4167817dc56 Mon Sep 17 00:00:00 2001 From: zsq Date: Thu, 10 May 2012 15:00:15 +0800 Subject: [PATCH] modify rga soft_reset delay to 3 us --- drivers/video/rockchip/rga/rga_drv.c | 2 +- drivers/video/rockchip/rga/rga_mmu_info.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/video/rockchip/rga/rga_drv.c b/drivers/video/rockchip/rga/rga_drv.c index 5cabff17c50d..e79a5dc8f6a7 100755 --- a/drivers/video/rockchip/rga/rga_drv.c +++ b/drivers/video/rockchip/rga/rga_drv.c @@ -566,7 +566,7 @@ static void rga_try_set_reg(uint32_t num) return; } - udelay(100); + udelay(3); spin_lock_irqsave(&rga_service.lock, flag); if (!list_empty(&rga_service.waiting)) diff --git a/drivers/video/rockchip/rga/rga_mmu_info.c b/drivers/video/rockchip/rga/rga_mmu_info.c index b5972a40f03c..468897df6351 100755 --- a/drivers/video/rockchip/rga/rga_mmu_info.c +++ b/drivers/video/rockchip/rga/rga_mmu_info.c @@ -12,13 +12,15 @@ #include #include #include +#include +#include +#include #include - - +#include #include "rga_mmu_info.h" extern rga_service_info rga_service; -extern int mmu_buff_temp[1024]; +//extern int mmu_buff_temp[1024]; #define KERNEL_SPACE_VALID 0xc0000000 -- 2.34.1