From 411f2d11eec307cc03d3711898a4913cc03362ca Mon Sep 17 00:00:00 2001 From: Yandong Lin Date: Thu, 10 Nov 2022 10:51:36 +0800 Subject: [PATCH] arm64: dts: rockchip: px30: fix enc and dec run at the same issue Due to the particularity of the px30 iommu, it is necessary to configure the grf to switch iommu. So need to configure rockchip,shootdown-entire to prevent a case from happening: when one device is running, the task of another device operates iommu when doing map. This commit relies on the following commit: commit 3b67ff56d698 ("video: rockchip: mpp: add iommu flush tlb before hw run for px30") Signed-off-by: Yandong Lin Change-Id: Ifd94ab4b5d7f53f711320b608ff105539fd9b38d --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index ea9ab107fe3d..6b9adc6ba0c7 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -1580,6 +1580,7 @@ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; clock-names = "aclk", "iface"; power-domains = <&power PX30_PD_VPU>; + rockchip,shootdown-entire; #iommu-cells = <0>; status = "disabled"; }; @@ -1630,6 +1631,7 @@ clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; clock-names = "aclk", "iface"; power-domains = <&power PX30_PD_VPU>; + rockchip,shootdown-entire; #iommu-cells = <0>; status = "disabled"; };