From: Thierry Reding Date: Thu, 26 Jun 2014 19:22:46 +0000 (+0200) Subject: ARM: tegra: Enable IOMMU for display controllers on Tegra124 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b605d4426e1dc38b6572bd42c151ad247359e3a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: tegra: Enable IOMMU for display controllers on Tegra124 Add iommus properties to the device tree nodes for the two display controllers found on Tegra124. This will allow the display controllers to map physically non-contiguous buffers to I/O virtual contiguous address spaces so that they can be used for scan-out. Signed-off-by: Thierry Reding --- diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 5fcc6e704faa..a9f3a3e1afc4 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -1,5 +1,6 @@ #include #include +#include #include #include #include @@ -102,6 +103,8 @@ resets = <&tegra_car 27>; reset-names = "dc"; + iommus = <&mc TEGRA_SWGROUP_DC>; + nvidia,head = <0>; }; @@ -115,6 +118,8 @@ resets = <&tegra_car 26>; reset-names = "dc"; + iommus = <&mc TEGRA_SWGROUP_DCB>; + nvidia,head = <1>; };