From f1df54b88ee7a1891f7b6bb49d855a56c47f262d Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Thu, 21 Sep 2017 10:02:21 +0800 Subject: [PATCH] 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 --- arch/arm/boot/dts/rk3288-android.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3288-android.dtsi b/arch/arm/boot/dts/rk3288-android.dtsi index a13be09e3d18..0e2f374942bf 100644 --- a/arch/arm/boot/dts/rk3288-android.dtsi +++ b/arch/arm/boot/dts/rk3288-android.dtsi @@ -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 {