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