From: Thierry Reding Date: Wed, 24 Sep 2014 13:41:41 +0000 (+0200) Subject: ARM: tegra: Enable IOMMU for display controllers on Tegra114 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=32215e716008160aadda99669f98a8b735e829fa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: tegra: Enable IOMMU for display controllers on Tegra114 Add iommus properties to the device tree nodes for the two display controllers found on Tegra114. 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/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 2c26b07c11ed..c8c3b6438b4d 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -1,5 +1,6 @@ #include #include +#include #include #include @@ -57,6 +58,8 @@ resets = <&tegra_car 27>; reset-names = "dc"; + iommus = <&mc TEGRA_SWGROUP_DC>; + nvidia,head = <0>; rgb { @@ -74,6 +77,8 @@ resets = <&tegra_car 26>; reset-names = "dc"; + iommus = <&mc TEGRA_SWGROUP_DCB>; + nvidia,head = <1>; rgb {