Browse Source

drm/tegra: Enable IOVA API when IOMMU support is enabled

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>
Thierry Reding 8 years ago
parent
commit
398cbaadec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/tegra/Kconfig

+ 1 - 0
drivers/gpu/drm/tegra/Kconfig

@@ -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.