lkml.org 
[lkml]   [2021]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 6/8] arm64: tegra: Add Host1x context stream IDs on Tegra186+
Date
Add Host1x context stream IDs on systems that support Host1x context
isolation. Host1x and attached engines can use these stream IDs to
allow isolation between memory used by different processes.

The specified stream IDs must match those configured by the hypervisor,
if one is present.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index c567aa65418b..25a8cb1a97a6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1176,6 +1176,15 @@ host1x@13e00000 {
interconnect-names = "dma-mem";

iommus = <&smmu TEGRA186_SID_HOST1X>;
+ nvidia,context-iommus = <
+ &smmu TEGRA186_SID_HOST1X_CTX0
+ &smmu TEGRA186_SID_HOST1X_CTX1
+ &smmu TEGRA186_SID_HOST1X_CTX2
+ &smmu TEGRA186_SID_HOST1X_CTX3
+ &smmu TEGRA186_SID_HOST1X_CTX4
+ &smmu TEGRA186_SID_HOST1X_CTX5
+ &smmu TEGRA186_SID_HOST1X_CTX6
+ &smmu TEGRA186_SID_HOST1X_CTX7>;

dpaux1: dpaux@15040000 {
compatible = "nvidia,tegra186-dpaux";
--
2.30.0
\
 
 \ /
  Last update: 2021-02-08 19:43    [W:0.104 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site