diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2017-07-18 19:37:53 +0100 |
---|---|---|
committer | Peter Robinson <pbrobinson@gmail.com> | 2017-07-18 19:37:53 +0100 |
commit | b7ab4072a1d4c50d80056f552a62121499414680 (patch) | |
tree | bdef2bd2e306c7dac7434a25dfa595b0222ff9cf /arm-tegra-fix-gpu-iommu.patch | |
parent | 3ca7c65713740d6fbbe71af6d35eb7df30356f2c (diff) | |
download | kernel-b7ab4072a1d4c50d80056f552a62121499414680.tar.gz kernel-b7ab4072a1d4c50d80056f552a62121499414680.tar.xz kernel-b7ab4072a1d4c50d80056f552a62121499414680.zip |
Add fix for Tegra GPU display with IOMMU, Add QCom IOMMU for Dragonboard display
Diffstat (limited to 'arm-tegra-fix-gpu-iommu.patch')
-rw-r--r-- | arm-tegra-fix-gpu-iommu.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arm-tegra-fix-gpu-iommu.patch b/arm-tegra-fix-gpu-iommu.patch new file mode 100644 index 000000000..c775c88b4 --- /dev/null +++ b/arm-tegra-fix-gpu-iommu.patch @@ -0,0 +1,39 @@ +From patchwork Sun Jul 9 16:36:14 2017 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: ARM: tegra: Register host1x node with iommu binding on tegra124 +From: Paul Kocialkowski <contact@paulk.fr> +X-Patchwork-Id: 9831825 +Message-Id: <20170709163614.6746-1-contact@paulk.fr> +To: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, + linux-kernel@vger.kernel.org +Cc: Thierry Reding <thierry.reding@gmail.com>, + Stephen Warren <swarren@wwwdotorg.org>, + Mikko Perttunen <mperttunen@nvidia.com>, + Paul Kocialkowski <contact@paulk.fr>, + Jonathan Hunter <jonathanh@nvidia.com> +Date: Sun, 9 Jul 2017 19:36:14 +0300 + +This registers the host1x node with the SMMU (as HC swgroup) to allow +the host1x code to attach to it. It avoid failing the probe sequence, +which resulted in the tegra drm driver not probing and thus nothing +being displayed on-screen. + +Signed-off-by: Paul Kocialkowski <contact@paulk.fr> +--- + arch/arm/boot/dts/tegra124.dtsi | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi +index 187a36c6d0fc..b3b89befffeb 100644 +--- a/arch/arm/boot/dts/tegra124.dtsi ++++ b/arch/arm/boot/dts/tegra124.dtsi +@@ -85,6 +85,7 @@ + clocks = <&tegra_car TEGRA124_CLK_HOST1X>; + resets = <&tegra_car 28>; + reset-names = "host1x"; ++ iommus = <&mc TEGRA_SWGROUP_HC>; + + #address-cells = <2>; + #size-cells = <2>; |