From: Geert Uytterhoeven Date: Tue, 13 Jan 2026 13:15:01 +0000 (+0100) Subject: drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd98e73492102a2ff54923f08c37a2780979ac4c;p=thirdparty%2Fkernel%2Flinux.git drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP Rockchip display hardware is only available on Rockchip SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the user about this driver when configuring a kernel without Rockchip platform support. Before, this dependency was implicit through a hard dependency on ROCKCHIP_IOMMU. Fixes: 0244539f9a4f3b56 ("drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP") Signed-off-by: Geert Uytterhoeven Reviewed-by: Chaoyi Chen Signed-off-by: Heiko Stuebner Link: https://patch.msgid.link/5db192d31cc51f027f107c01c01a353a0569ebf4.1768310045.git.geert+renesas@glider.be --- diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 025bd770f499..1479b8c4ed40 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -2,6 +2,7 @@ config DRM_ROCKCHIP tristate "DRM Support for Rockchip" depends on DRM + depends on ARCH_ROCKCHIP || COMPILE_TEST depends on ROCKCHIP_IOMMU || !ROCKCHIP_IOMMU depends on OF select DRM_CLIENT_SELECTION