accel/rocket: Depend on DRM_ACCEL not just DRM

A patch from »Rocket Kconfig fixes« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 14 Aug 2025 13:23:19 +0200

Commit-Message

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@...>

Patch-Comment

drivers/accel/rocket/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Statistics

  • 1 lines added
  • 1 lines removed

Changes

------------------------- drivers/accel/rocket/Kconfig -------------------------
index af6cda273892..16465abe0660 100644
@@ -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
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...