[PATCH 0/3] Host1x context isolation on Tegra234
Mikko Perttunen
cyndis at kapsi.fi
Wed Sep 7 08:38:41 UTC 2022
From: Mikko Perttunen <mperttunen at nvidia.com>
Hi all,
this series adds support for Host1x context isolation
on Tegra234 (Orin). The difference from previous generations
is that there are two IOMMUs to which engines can be attached
to, resulting in having to have a set of contexts for each one.
Patches should be applied in order. The first patch is needed
so that the kernel doesn't attempt to use a context device
attached to the wrong IOMMU when context stream IDs are present
in the device tree. The other two patches have a compile time
dependency.
Thanks,
Mikko
Mikko Perttunen (3):
gpu: host1x: Select context device based on attached IOMMU
dt-bindings: Add Host1x context stream IDs on Tegra234
arm64: tegra: Add context isolation domains on Tegra234
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 19 +++++++++++++++++++
drivers/gpu/drm/tegra/uapi.c | 2 +-
drivers/gpu/host1x/context.c | 5 +++++
include/dt-bindings/memory/tegra234-mc.h | 10 ++++++++++
include/linux/host1x.h | 1 +
5 files changed, 36 insertions(+), 1 deletion(-)
--
2.37.0
More information about the dri-devel
mailing list