diff options
author | Thierry Reding <treding@nvidia.com> | 2019-08-29 18:52:42 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-11-01 12:49:29 +0300 |
commit | 84db889e6d827eefc3dde130fec8382d2dcb23ac (patch) | |
tree | 2ea66652b92d4e313c7a91477b32e6b4bd018039 /drivers/gpu/drm/tegra/hub.c | |
parent | c8a2036474882f478845c70c496c3e49635e34c2 (diff) | |
download | linux-84db889e6d827eefc3dde130fec8382d2dcb23ac.tar.xz |
drm/tegra: Unconditionally select IOMMU_IOVA
Currently configurations can be generated where IOMMU_SUPPORT is
disabled but IOMMU_IOVA is built as a module and DRM_TEGRA as built-in.
In such a case, the symbols guarded by IOMMU_IOVA will not be available
when linking the Tegra DRM driver and cause a linking failure.
Simplify this by unconditionally selecting IOMMU_IOVA, which makes sure
that it will be forced to =y if DRM_TEGRA=y. Technically we can now get
IOMMU_IOVA code built-in even if we don't use it (Tegra DRM only uses it
when IOMMU_SUPPORT is also enabled), but such configuration are of a
mostly academic nature. In all practical configurations we want IOMMU
support anyway.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/hub.c')
0 files changed, 0 insertions, 0 deletions