drm/msm: add IOMMU_SUPPORT dependency
PATCH 1/1 drm/msm: add IOMMU_SUPPORT dependency
From: Arnd Bergmann <[email protected]>
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.
--- drivers/gpu/drm/msm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/Kconfig +1 -1
@@ -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
Signature · 6 lines
2.27.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 11 lines · On Fri, 4 Dec 2020 00:13:38 +0100 you wrote:
From: Arnd Bergmann <[email protected]>
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)[...]
Here is the summary with links:
- drm/msm: add IOMMU_SUPPORT dependency
https://git.kernel.org/qcom/c/e319a1b956f7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html