rockchip/rga: add rga flush data cache
authorZikim,Wei <wzq@rock-chips.com>
Wed, 28 Sep 2016 13:35:27 +0000 (21:35 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 14 Oct 2016 09:11:35 +0000 (17:11 +0800)
commite7fb8841a036754cd593d7c4ca29ba61da1fb614
treefc32a0a11b9a5590be7fd25161245dad222c7c9c
parent84343348feb44761a0f81d86984c0530e5fef04e
rockchip/rga: add rga flush data cache

If the buffer alloced from the ion, user can flush
it by ion apis, but if the buffer was alloced by
other apis like malloc, user space is not easy to
flush the data cache. So rga flush the data cache
for cache coherence.

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