Message ID | 20220907083844.2486805-1-cyndis@kapsi.fi (mailing list archive) |
---|---|
Headers | show |
Series | Host1x context isolation on Tegra234 | expand |
On Wed, Sep 07, 2022 at 11:38:41AM +0300, Mikko Perttunen wrote: > From: Mikko Perttunen <mperttunen@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(-) All three patches applied. Thanks, Thierry
From: Mikko Perttunen <mperttunen@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(-)