]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/msm: add IOMMU_SUPPORT dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 Dec 2020 23:13:38 +0000 (00:13 +0100)
committerRob Clark <robdclark@chromium.org>
Sat, 5 Dec 2020 16:25:52 +0000 (08:25 -0800)
commite319a1b956f785f618611857cd946dca2bb68542
tree21a6f2e9ae0c912288a2db8e4c18e7b240039be4
parent7cc29fcdfcc8784e97c5151c848e193800ec79ac
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>
drivers/gpu/drm/msm/Kconfig