mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
kmod-drm-lima: rename and enable support for sunxi
This driver can be used on AllWinner h3/h5 and rk3328. Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org> (cherry picked from commit 971af214bc6652fb5dc67d6a7cd7360cef10ca0e)
This commit is contained in:
parent
280db75708
commit
9dad34f476
@ -389,6 +389,27 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-imx-ldb))
|
||||
|
||||
define KernelPackage/drm-lima
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Mali-4xx GPU support
|
||||
DEPENDS:=@(TARGET_rockchip||TARGET_sunxi) +kmod-drm
|
||||
KCONFIG:= \
|
||||
CONFIG_DRM_VGEM \
|
||||
CONFIG_DRM_GEM_CMA_HELPER=y \
|
||||
CONFIG_DRM_LIMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/vgem/vgem.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/scheduler/gpu-sched.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/lima/lima.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lima vgem)
|
||||
endef
|
||||
|
||||
define KernelPackage/drm-lima/description
|
||||
Open-source reverse-engineered driver for Mali-4xx GPUs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-lima))
|
||||
|
||||
define KernelPackage/drm-radeon
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Radeon DRM support
|
||||
|
@ -43,24 +43,3 @@ define KernelPackage/drm-rockchip/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-rockchip))
|
||||
|
||||
define KernelPackage/gpu-lima
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Mali-4xx GPU support
|
||||
DEPENDS:=@TARGET_rockchip +kmod-drm
|
||||
KCONFIG:= \
|
||||
CONFIG_DRM_VGEM \
|
||||
CONFIG_DRM_GEM_CMA_HELPER=y \
|
||||
CONFIG_DRM_LIMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/vgem/vgem.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/scheduler/gpu-sched.ko \
|
||||
$(LINUX_DIR)/drivers/gpu/drm/lima/lima.ko
|
||||
AUTOLOAD:=$(call AutoProbe,lima vgem)
|
||||
endef
|
||||
|
||||
define KernelPackage/gpu-lima/description
|
||||
Open-source reverse-engineered driver for Mali-4xx GPUs
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,gpu-lima))
|
||||
|
Loading…
x
Reference in New Issue
Block a user