Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Drop ARCH_MULTIPLATFORM from dependencies

Some of these dependencies used to be sensible when only a small part of
the platforms supported by ARCH=arm could be compiled together in a
single kernel image. Nowadays ARCH_MULTIPLATFORM is only used as a guard
for kernel options incompatible with a multiplatform image. See commit
84fc86360623 ("ARM: make ARCH_MULTIPLATFORM user-visible") for some more
details.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221209220555.3631364-1-u.kleine-koenig@pengutronix.de

authored by

Uwe Kleine-König and committed by
Javier Martinez Canillas
9fcc00ea c87e859c

+6 -6
+1 -1
drivers/gpu/drm/exynos/Kconfig
··· 2 2 config DRM_EXYNOS 3 3 tristate "DRM Support for Samsung SoC Exynos Series" 4 4 depends on OF && DRM && COMMON_CLK 5 - depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST 5 + depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST 6 6 depends on MMU 7 7 select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP 8 8 select DRM_KMS_HELPER
+1 -1
drivers/gpu/drm/imx/ipuv3/Kconfig
··· 4 4 select DRM_KMS_HELPER 5 5 select VIDEOMODE_HELPERS 6 6 select DRM_GEM_DMA_HELPER 7 - depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM || COMPILE_TEST) 7 + depends on DRM && (ARCH_MXC || COMPILE_TEST) 8 8 depends on IMX_IPUV3_CORE 9 9 help 10 10 enable i.MX graphics support
+1 -1
drivers/gpu/drm/omapdrm/Kconfig
··· 2 2 config DRM_OMAP 3 3 tristate "OMAP DRM" 4 4 depends on DRM && OF 5 - depends on ARCH_OMAP2PLUS || ARCH_MULTIPLATFORM 5 + depends on ARCH_OMAP2PLUS 6 6 select DRM_KMS_HELPER 7 7 select VIDEOMODE_HELPERS 8 8 select HDMI
+1 -1
drivers/gpu/drm/sti/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_STI 3 3 tristate "DRM Support for STMicroelectronics SoC stiH4xx Series" 4 - depends on OF && DRM && (ARCH_STI || ARCH_MULTIPLATFORM) 4 + depends on OF && DRM && ARCH_STI 5 5 select RESET_CONTROLLER 6 6 select DRM_KMS_HELPER 7 7 select DRM_GEM_DMA_HELPER
+1 -1
drivers/gpu/drm/stm/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_STM 3 3 tristate "DRM Support for STMicroelectronics SoC Series" 4 - depends on DRM && (ARCH_STM32 || ARCH_MULTIPLATFORM) 4 + depends on DRM && ARCH_STM32 5 5 select DRM_KMS_HELPER 6 6 select DRM_GEM_DMA_HELPER 7 7 select DRM_PANEL_BRIDGE
+1 -1
drivers/gpu/ipu-v3/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config IMX_IPUV3_CORE 3 3 tristate "IPUv3 core support" 4 - depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM || COMPILE_TEST 4 + depends on SOC_IMX5 || SOC_IMX6Q || COMPILE_TEST 5 5 depends on DRM || !DRM # if DRM=m, this can't be 'y' 6 6 select BITREVERSE 7 7 select GENERIC_ALLOCATOR if DRM