]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
bcm27xx: package kmod-drm-v3d 20610/head
authorDaniel Golle <daniel@makrotopia.org>
Tue, 14 Oct 2025 22:18:03 +0000 (23:18 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 2 Nov 2025 12:53:29 +0000 (12:53 +0000)
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>
target/linux/bcm27xx/modules/video.mk

index 14d5de0de8ead8ce2a9a79e2eac1fd58fe49351e..036fafbfc8a74da9d74150393e0c25ff67089e87 100644 (file)
@@ -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