From: zsq Date: Thu, 10 May 2012 07:00:15 +0000 (+0800) Subject: modify rga soft_reset delay to 3 us X-Git-Tag: firefly_0821_release~9207 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1b7915b99771366d31e0ce43b74aa4167817dc56;p=firefly-linux-kernel-4.4.55.git modify rga soft_reset delay to 3 us --- 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