diff mbox series

[meta-rockchip,2/2] kernel: build the rocket NPU driver as a module

Message ID 20261127114049.3566943-2-twoerner@gmail.com
State New
Headers show
Series [meta-rockchip,1/2] kernel: only add the rocket NPU fragment on rk3588s | expand

Commit Message

Trevor Woerner Nov. 27, 2026, 11:40 a.m. UTC
DRM_ACCEL_ROCKET depends on DRM, which the arm64 defconfig builds as a
module, so the fragment's =y always ended up as =m and the kernel config
audit warned about the mismatch. Ask for =m.

Cc: Quentin Schulz <quentin.schulz@cherry.de>
AI-Generated: codex/claude-opus 5.5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 .../linux-rockchip/rockchip-kmeta/bsp/rockchip/rocket-npu.cfg   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Quentin Schulz Nov. 27, 2026, 12:03 p.m. UTC | #1
On 11/27/26 12:40 PM, Trevor Woerner wrote:
> DRM_ACCEL_ROCKET depends on DRM, which the arm64 defconfig builds as a
> module, so the fragment's =y always ended up as =m and the kernel config
> audit warned about the mismatch. Ask for =m.
> 
> Cc: Quentin Schulz <quentin.schulz@cherry.de>
> AI-Generated: codex/claude-opus 5.5 (xhigh)
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/rocket-npu.cfg b/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/rocket-npu.cfg
index 9f6af63928c6..18dcdc469904 100644
--- a/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/rocket-npu.cfg
+++ b/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/rocket-npu.cfg
@@ -1,2 +1,2 @@ 
 CONFIG_DRM_ACCEL=y
-CONFIG_DRM_ACCEL_ROCKET=y
+CONFIG_DRM_ACCEL_ROCKET=m