Skip to content

Commit 84db889

Browse files
committed
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 <[email protected]>
1 parent c8a2036 commit 84db889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/tegra/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config DRM_TEGRA
99
select DRM_MIPI_DSI
1010
select DRM_PANEL
1111
select TEGRA_HOST1X
12-
select IOMMU_IOVA if IOMMU_SUPPORT
12+
select IOMMU_IOVA
1313
select CEC_CORE if CEC_NOTIFIER
1414
help
1515
Choose this option if you have an NVIDIA Tegra SoC.

0 commit comments

Comments
 (0)