aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-12-04 00:13:38 +0100
committerRob Clark <robdclark@chromium.org>2020-12-05 08:25:52 -0800
commite319a1b956f785f618611857cd946dca2bb68542 (patch)
tree21a6f2e9ae0c912288a2db8e4c18e7b240039be4 /drivers/gpu/drm/msm/Kconfig
parentdrm/msm: a5xx: Make preemption reset case reentrant (diff)
downloadlinux-dev-e319a1b956f785f618611857cd946dca2bb68542.tar.xz
linux-dev-e319a1b956f785f618611857cd946dca2bb68542.zip
drm/msm: add IOMMU_SUPPORT dependency
The iommu pgtable support is only available when IOMMU support is built into the kernel: WARNING: unmet direct dependencies detected for IOMMU_IO_PGTABLE Depends on [n]: IOMMU_SUPPORT [=n] Selected by [y]: - DRM_MSM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_QCOM [=y] || SOC_IMX5 || ARM && COMPILE_TEST [=y]) && OF [=y] && COMMON_CLK [=y] && MMU [=y] && (QCOM_OCMEM [=y] || QCOM_OCMEM [=y]=n) Fix the dependency accordingly. There is no need for depending on CONFIG_MMU any more, as that is implied by the iommu support. Fixes: b145c6e65eb0 ("drm/msm: Add support to create a local pagetable") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/Kconfig')
-rw-r--r--drivers/gpu/drm/msm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index e5816b498494..dabb4a1ccdcf 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -4,8 +4,8 @@ config DRM_MSM
tristate "MSM DRM"
depends on DRM
depends on ARCH_QCOM || SOC_IMX5 || (ARM && COMPILE_TEST)
+ depends on IOMMU_SUPPORT
depends on OF && COMMON_CLK
- depends on MMU
depends on QCOM_OCMEM || QCOM_OCMEM=n
select IOMMU_IO_PGTABLE
select QCOM_MDT_LOADER if ARCH_QCOM