summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2025-10-14 22:18:03 +0000
committerDaniel Golle2025-11-02 12:53:29 +0000
commit1cb347579a9663becfb10a4fee0eb5bc5a5e481f (patch)
tree6f13adedd6a8257896a624bfa090eb463bba751a
parent71a009f6b68fd44117fc2150118a6d52d63a6860 (diff)
downloadopenwrt-1cb347579a9663becfb10a4fee0eb5bc5a5e481f.tar.gz
bcm27xx: package kmod-drm-v3d
Package driver for Broadcom V3D 3.x or newer GPUs. SoCs supported include the BCM2711, BCM7268 and BCM7278. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--target/linux/bcm27xx/modules/video.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/modules/video.mk b/target/linux/bcm27xx/modules/video.mk
index 14d5de0de8..036fafbfc8 100644
--- a/target/linux/bcm27xx/modules/video.mk
+++ b/target/linux/bcm27xx/modules/video.mk
@@ -93,6 +93,26 @@ endef
$(eval $(call KernelPackage,codec-bcm2835))
+define KernelPackage/drm-v3d
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Broadcom V3D Graphics
+ DEPENDS:= \
+ @TARGET_bcm27xx_bcm2711||TARGET_bcm27xx_bcm2712 +kmod-drm \
+ +kmod-drm-shmem-helper +kmod-drm-sched
+ KCONFIG:=CONFIG_DRM_V3D
+ FILES:= \
+ $(LINUX_DIR)/drivers/gpu/drm/v3d/v3d.ko
+ AUTOLOAD:=$(call AutoProbe,v3d)
+endef
+
+define KernelPackage/drm-v3d/description
+ Broadcom V3D 3.x or newer GPUs. SoCs supported include the BCM2711,
+ BCM7268 and BCM7278.
+endef
+
+$(eval $(call KernelPackage,drm-v3d))
+
+
define KernelPackage/drm-vc4
SUBMENU:=$(VIDEO_MENU)
TITLE:=Broadcom VC4 Graphics