[PATCH 0/3] Host1x context isolation on Tegra234

Thierry Reding thierry.reding at gmail.com
Thu Sep 15 12:09:58 UTC 2022


On Wed, Sep 07, 2022 at 11:38:41AM +0300, Mikko Perttunen wrote:
> 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(-)

All three patches applied.

Thanks,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220915/36a12817/attachment.sig>


More information about the dri-devel mailing list