mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 01:09:33 -04:00
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: b35f5b53a8 ("arm64: tegra: Add context isolation domains on Tegra234")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
committed by
Thierry Reding
parent
320e0a7037
commit
361238cdc5
@@ -1923,6 +1923,7 @@ host1x@13e00000 {
|
||||
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>,
|
||||
|
||||
@@ -2151,6 +2151,7 @@ host1x@13e00000 {
|
||||
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>,
|
||||
|
||||
Reference in New Issue
Block a user