Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Heiko Stuebner and committed by
Tomeu Vizoso
503b0ed3 c4d24127

+1 -1
+1 -1
drivers/accel/rocket/Kconfig
··· 2 2 3 3 config DRM_ACCEL_ROCKET 4 4 tristate "Rocket (support for Rockchip NPUs)" 5 - depends on DRM 5 + depends on DRM_ACCEL 6 6 depends on (ARCH_ROCKCHIP && ARM64) || COMPILE_TEST 7 7 depends on ROCKCHIP_IOMMU || COMPILE_TEST 8 8 depends on MMU