summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-03-20 20:04:20 +0100
committerThierry Reding <treding@nvidia.com>2017-04-05 18:11:43 +0200
commit398cbaadecdd168fe175d559ddb1671dfa11e582 (patch)
tree7ce24ce2cd73eb82b1b36f89634ed34ba6a11ff7
parent404bfb78daf3bedafb0bfab24947059575cbea3d (diff)
downloadop-kernel-dev-398cbaadecdd168fe175d559ddb1671dfa11e582.zip
op-kernel-dev-398cbaadecdd168fe175d559ddb1671dfa11e582.tar.gz
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>
-rw-r--r--drivers/gpu/drm/tegra/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig
index bbf5a4b..2db29d6 100644
--- a/drivers/gpu/drm/tegra/Kconfig
+++ b/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.
OpenPOWER on IntegriCloud