vidro/rockchip: Fix rga2 driver
authorZikim,Wei <wzq@rock-chips.com>
Wed, 19 Oct 2016 08:32:50 +0000 (16:32 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 11 Nov 2016 11:47:51 +0000 (19:47 +0800)
commitf5b4aa62066ba2c69063eec213b934406848ef0f
treea94be54a28d11433f28cbd3543fcb42bb7cc20d3
parent0b5f9b86cc05d4a7a3703ab79526f3dc400d1e48
vidro/rockchip: Fix rga2 driver

1.If rga get the mmu error, we must unlock the lock
or it will lead the next frame timeout.
2.calculate the rga mmu buf back length size in the
rga time out handler or it will lead the next frame
get mmu lentch wrong.

Change-Id: If85751bd292774a1d0ef9693b7f8ad92a4727c07
Signed-off-by: Zikim,Wei <wzq@rock-chips.com>
drivers/video/rockchip/rga2/rga2_drv.c
drivers/video/rockchip/rga2/rga2_mmu_info.c