ARM: dts: rk3288-android: add dma-coherent for rga device

When import dma_buf to rga driver, dma_map_sg will always do
cpu cache sync, it cause low performance.

Actually we don't want to do cpu cache sync on this context,
So set rga device with dma-coherent to skip cpu cache sync.

Change-Id: Idfeb0de2e1d92873dcbd560cec40a4f9f8807013
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2017-09-21 10:02:21 +08:00
committed by Huang, Tao
parent 15f6b54578
commit f1df54b88e

View File

@@ -429,6 +429,7 @@
compatible = "rockchip,rga2";
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
clock-names = "aclk_rga", "hclk_rga", "clk_rga";
dma-coherent;
};
&usb_otg {