mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
arm64: tegra: Add Host1x context stream IDs on Tegra186+
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> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
28d860ed02
commit
e30cf1011b
2 changed files with 22 additions and 0 deletions
|
@ -1484,6 +1484,17 @@ host1x@13e00000 {
|
||||||
|
|
||||||
iommus = <&smmu TEGRA186_SID_HOST1X>;
|
iommus = <&smmu TEGRA186_SID_HOST1X>;
|
||||||
|
|
||||||
|
/* Context isolation domains */
|
||||||
|
iommu-map = <
|
||||||
|
0 &smmu TEGRA186_SID_HOST1X_CTX0 1
|
||||||
|
1 &smmu TEGRA186_SID_HOST1X_CTX1 1
|
||||||
|
2 &smmu TEGRA186_SID_HOST1X_CTX2 1
|
||||||
|
3 &smmu TEGRA186_SID_HOST1X_CTX3 1
|
||||||
|
4 &smmu TEGRA186_SID_HOST1X_CTX4 1
|
||||||
|
5 &smmu TEGRA186_SID_HOST1X_CTX5 1
|
||||||
|
6 &smmu TEGRA186_SID_HOST1X_CTX6 1
|
||||||
|
7 &smmu TEGRA186_SID_HOST1X_CTX7 1>;
|
||||||
|
|
||||||
dpaux1: dpaux@15040000 {
|
dpaux1: dpaux@15040000 {
|
||||||
compatible = "nvidia,tegra186-dpaux";
|
compatible = "nvidia,tegra186-dpaux";
|
||||||
reg = <0x15040000 0x10000>;
|
reg = <0x15040000 0x10000>;
|
||||||
|
|
|
@ -1868,6 +1868,17 @@ host1x@13e00000 {
|
||||||
interconnect-names = "dma-mem";
|
interconnect-names = "dma-mem";
|
||||||
iommus = <&smmu TEGRA194_SID_HOST1X>;
|
iommus = <&smmu TEGRA194_SID_HOST1X>;
|
||||||
|
|
||||||
|
/* Context isolation domains */
|
||||||
|
iommu-map = <
|
||||||
|
0 &smmu TEGRA194_SID_HOST1X_CTX0 1
|
||||||
|
1 &smmu TEGRA194_SID_HOST1X_CTX1 1
|
||||||
|
2 &smmu TEGRA194_SID_HOST1X_CTX2 1
|
||||||
|
3 &smmu TEGRA194_SID_HOST1X_CTX3 1
|
||||||
|
4 &smmu TEGRA194_SID_HOST1X_CTX4 1
|
||||||
|
5 &smmu TEGRA194_SID_HOST1X_CTX5 1
|
||||||
|
6 &smmu TEGRA194_SID_HOST1X_CTX6 1
|
||||||
|
7 &smmu TEGRA194_SID_HOST1X_CTX7 1>;
|
||||||
|
|
||||||
nvdec@15140000 {
|
nvdec@15140000 {
|
||||||
compatible = "nvidia,tegra194-nvdec";
|
compatible = "nvidia,tegra194-nvdec";
|
||||||
reg = <0x15140000 0x00040000>;
|
reg = <0x15140000 0x00040000>;
|
||||||
|
|
Loading…
Reference in a new issue