From: Jean Delvare <jdelvare@suse.de>
To: dri-devel@lists.freedesktop.org
Cc: "Rob Herring (Arm)" <robh@kernel.org>,
Tomeu Vizoso <tomeu@tomeuvizoso.net>,
Oded Gabbay <ogabbay@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH] accel: ethosu: Add hardware dependency hint
Date: Wed, 1 Apr 2026 12:23:23 +0200 [thread overview]
Message-ID: <20260401122323.6127a77c@endymion> (raw)
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
next reply other threads:[~2026-04-01 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-01 10:23 Jean Delvare [this message]
2026-04-02 20:16 ` [PATCH] accel: ethosu: Add hardware dependency hint Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260401122323.6127a77c@endymion \
--to=jdelvare@suse.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ogabbay@kernel.org \
--cc=robh@kernel.org \
--cc=tomeu@tomeuvizoso.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.