aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/accel
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2025-08-14 13:35:19 +0200
committerTomeu Vizoso <tomeu@tomeuvizoso.net>2025-09-01 12:11:28 +0200
commit503b0ed38ca60cfb5ba101517a680beebd38d377 (patch)
treec1ea72f2043dfce89ea6b14403e5e8557c6d6484 /drivers/accel
parentc4d24127aaf1c50753c8bcdf050ed39b7c709869 (diff)
downloadtip-503b0ed38ca60cfb5ba101517a680beebd38d377.tar.gz
accel/rocket: Depend on DRM_ACCEL not just DRM
With the current dependency on only DRM, a config of CONFIG_DRM_ACCEL_ROCKET=y is possible, but of course wrong, because without DRM_ACCEL the build- system will never even enter drivers/accel/* . So depend on DRM_ACCEL instead of just DRM. Fixes: ed98261b4168 ("accel/rocket: Add a new driver for Rockchip's NPU") Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Link: https://lore.kernel.org/r/20250814113519.1551855-3-heiko@sntech.de
Diffstat (limited to 'drivers/accel')
-rw-r--r--drivers/accel/rocket/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/rocket/Kconfig b/drivers/accel/rocket/Kconfig
index af6cda2738923d..16465abe06607c 100644
--- a/drivers/accel/rocket/Kconfig
+++ b/drivers/accel/rocket/Kconfig
@@ -2,7 +2,7 @@
config DRM_ACCEL_ROCKET
tristate "Rocket (support for Rockchip NPUs)"
- depends on DRM
+ depends on DRM_ACCEL
depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST
depends on ROCKCHIP_IOMMU || COMPILE_TEST
depends on MMU