Commit 361238cd authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Thierry Reding
Browse files

arm64: tegra: Mark host1x as dma-coherent on Tegra194/234



Ensure appropriate configuration is done to make the host1x device
and context devices DMA coherent by adding the dma-coherent flag.

Fixes: b35f5b53 ("arm64: tegra: Add context isolation domains on Tegra234")
Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 320e0a70
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1923,6 +1923,7 @@
			interconnects = <&mc TEGRA194_MEMORY_CLIENT_HOST1XDMAR &emc>;
			interconnect-names = "dma-mem";
			iommus = <&smmu TEGRA194_SID_HOST1X>;
			dma-coherent;

			/* Context isolation domains */
			iommu-map = <0 &smmu TEGRA194_SID_HOST1X_CTX0 1>,
+1 −0
Original line number Diff line number Diff line
@@ -2151,6 +2151,7 @@
			interconnects = <&mc TEGRA234_MEMORY_CLIENT_HOST1XDMAR &emc>;
			interconnect-names = "dma-mem";
			iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
			dma-coherent;

			/* Context isolation domains */
			iommu-map = <0 &smmu_niso0 TEGRA234_SID_HOST1X_CTX0 1>,