drm/tegra: Enable IOVA API when IOMMU support is enabled
authorThierry Reding <treding@nvidia.com>
Mon, 20 Mar 2017 19:04:20 +0000 (20:04 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Apr 2017 16:11:43 +0000 (18:11 +0200)
When support for an IOMMU has been enabled, make sure the IOVA helper
code is also activated and the driver can properly manage the IO virtual
address space.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/Kconfig

index bbf5a4b7e0b6950afc36953ada315fd4b6350068..2db29d67193dbc1627c253ddbb8ba07f8c29de0b 100644 (file)
@@ -7,6 +7,7 @@ config DRM_TEGRA
        select DRM_MIPI_DSI
        select DRM_PANEL
        select TEGRA_HOST1X
+       select IOMMU_IOVA if IOMMU_SUPPORT
        help
          Choose this option if you have an NVIDIA Tegra SoC.