diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index db786d0a35..73d999f4f2 100644 --- a/package/kernel/linux/modules/video.mk +++ b/package/kernel/linux/modules/video.mk @@ -410,6 +410,24 @@ endef $(eval $(call KernelPackage,drm-lima)) +define KernelPackage/drm-panfrost + SUBMENU:=$(VIDEO_MENU) + TITLE:=DRM support for ARM Mali Midgard/Bifrost GPUs + DEPENDS:=@(TARGET_rockchip||TARGET_sunxi) +kmod-drm + KCONFIG:=CONFIG_DRM_PANFROST + FILES:= \ + $(LINUX_DIR)/drivers/gpu/drm/panfrost/panfrost.ko \ + $(LINUX_DIR)/drivers/gpu/drm/scheduler/gpu-sched.ko + AUTOLOAD:=$(call AutoProbe,panfrost) +endef + +define KernelPackage/drm-panfrost/description + DRM driver for ARM Mali Midgard (T6xx, T7xx, T8xx) and + Bifrost (G3x, G5x, G7x) GPUs +endef + +$(eval $(call KernelPackage,drm-panfrost)) + define KernelPackage/drm-radeon SUBMENU:=$(VIDEO_MENU) TITLE:=Radeon DRM support