* [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP
@ 2026-01-13 13:15 Geert Uytterhoeven
2026-01-14 2:58 ` Chaoyi Chen
2026-01-14 10:50 ` Heiko Stuebner
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-01-13 13:15 UTC (permalink / raw)
To: Sandy Huang, Chaoyi Chen, Heiko Stübner, Andy Yan,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
David Airlie, Simona Vetter
Cc: dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel,
Geert Uytterhoeven
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 <geert+renesas@glider.be>
---
drivers/gpu/drm/rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig
index 025bd770f499e6ed..1479b8c4ed40ad16 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
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP
2026-01-13 13:15 [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP Geert Uytterhoeven
@ 2026-01-14 2:58 ` Chaoyi Chen
2026-01-14 10:50 ` Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Chaoyi Chen @ 2026-01-14 2:58 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Sandy Huang, Heiko Stübner, Andy Yan, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel
On 1/13/2026 9:15 PM, Geert Uytterhoeven wrote:
> 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 <geert+renesas@glider.be>
> ---
> drivers/gpu/drm/rockchip/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig
> index 025bd770f499e6ed..1479b8c4ed40ad16 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
Thank you for the fix.
Reviewed-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
--
Best,
Chaoyi
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP
2026-01-13 13:15 [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP Geert Uytterhoeven
2026-01-14 2:58 ` Chaoyi Chen
@ 2026-01-14 10:50 ` Heiko Stuebner
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2026-01-14 10:50 UTC (permalink / raw)
To: Sandy Huang, Chaoyi Chen, Andy Yan, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Geert Uytterhoeven
Cc: Heiko Stuebner, dri-devel, linux-arm-kernel, linux-rockchip,
linux-kernel
On Tue, 13 Jan 2026 14:15:01 +0100, Geert Uytterhoeven wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP
commit: cd98e73492102a2ff54923f08c37a2780979ac4c
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-14 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-13 13:15 [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP Geert Uytterhoeven
2026-01-14 2:58 ` Chaoyi Chen
2026-01-14 10:50 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®