diff options
author | Mark Yao <mark.yao@rock-chips.com> | 2017-09-21 10:03:07 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2017-09-21 10:37:06 +0800 |
commit | 7f8599fc1ab983d540ba8d0ffd55cfd3af513b77 (patch) | |
tree | 94171f564bad5787926f334c0acce6d5637ee67a /arch/arm64/boot/dts/rockchip/rk3366.dtsi | |
parent | f1df54b88ee7a1891f7b6bb49d855a56c47f262d (diff) |
arm64: dts: rockchip: rk3366: 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: Ie256db6a072481953befafb5b8003b9c1e713436
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3366.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3366.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index 9f055d9903d4..52210fdf7201 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -963,6 +963,7 @@ clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>; clock-names = "aclk_rga", "hclk_rga", "clk_rga"; power-domains = <&power RK3366_PD_VIO>; + dma-coherent; status = "disabled"; }; |