Skip to content

Commit

Permalink
ARM: tegra: Enable IOMMU for display controllers on Tegra124
Browse files Browse the repository at this point in the history
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 <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Dec 4, 2014
1 parent 32215e7 commit 5b605d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/tegra124.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <dt-bindings/clock/tegra124-car.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/memory/tegra124-mc.h>
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
#include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
Expand Down Expand Up @@ -102,6 +103,8 @@
resets = <&tegra_car 27>;
reset-names = "dc";

iommus = <&mc TEGRA_SWGROUP_DC>;

nvidia,head = <0>;
};

Expand All @@ -115,6 +118,8 @@
resets = <&tegra_car 26>;
reset-names = "dc";

iommus = <&mc TEGRA_SWGROUP_DCB>;

nvidia,head = <1>;
};

Expand Down

0 comments on commit 5b605d4

Please sign in to comment.