public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] accel: ethosu: Add hardware dependency hint
@ 2026-04-01 10:23 Jean Delvare
  2026-04-02 20:16 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2026-04-01 10:23 UTC (permalink / raw)
  To: dri-devel; +Cc: Rob Herring (Arm), Tomeu Vizoso, Oded Gabbay, linux-kernel

The Ethos-U NPU is only available on ARM systems, so add a hardware
dependency hint to prevent this driver from being needlessly
included in kernels built for other architectures.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
---
 drivers/accel/ethosu/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-6.19.orig/drivers/accel/ethosu/Kconfig
+++ linux-6.19/drivers/accel/ethosu/Kconfig
@@ -4,6 +4,7 @@ config DRM_ACCEL_ARM_ETHOSU
 	tristate "Arm Ethos-U65/U85 NPU"
 	depends on HAS_IOMEM
 	depends on DRM_ACCEL
+	depends on ARM || ARM64 || COMPILE_TEST
 	select DRM_GEM_DMA_HELPER
 	select DRM_SCHED
 	select GENERIC_ALLOCATOR


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] accel: ethosu: Add hardware dependency hint
  2026-04-01 10:23 [PATCH] accel: ethosu: Add hardware dependency hint Jean Delvare
@ 2026-04-02 20:16 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2026-04-02 20:16 UTC (permalink / raw)
  To: Jean Delvare; +Cc: dri-devel, Tomeu Vizoso, Oded Gabbay, linux-kernel

On Wed, Apr 01, 2026 at 12:23:23PM +0200, Jean Delvare wrote:
> The Ethos-U NPU is only available on ARM systems, so add a hardware
> dependency hint to prevent this driver from being needlessly
> included in kernels built for other architectures.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> ---
>  drivers/accel/ethosu/Kconfig |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Rob


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-02 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-01 10:23 [PATCH] accel: ethosu: Add hardware dependency hint Jean Delvare
2026-04-02 20:16 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox