kmod-drm-panfrost: add new package

This driver can be used on AllWinner H6 and rk3399.

Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org>
(cherry picked from commit e34397d950)
This commit is contained in:
AmadeusGhost 2021-10-16 23:05:09 +08:00 committed by Tianling Shen
parent 9dad34f476
commit 88cb625ae2
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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