aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/modules.mk
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-21 08:49:15 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-03-21 23:44:24 +0100
commitfbf89732c4b0e74081d2aa33eb0e5d3c423c4998 (patch)
tree0922ed61344ce5e87aded108b8cf72eaab71da11 /target/linux/brcm2708/modules.mk
parent106ae11edf41cfa5fa1a093d6ecaaedf1686d222 (diff)
downloadupstream-fbf89732c4b0e74081d2aa33eb0e5d3c423c4998.tar.gz
upstream-fbf89732c4b0e74081d2aa33eb0e5d3c423c4998.tar.bz2
upstream-fbf89732c4b0e74081d2aa33eb0e5d3c423c4998.zip
brcm2708: add kmod-drm-vc4 package
It includes vc4 driver for Broadcom VideoCore IV GPU. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/brcm2708/modules.mk')
-rw-r--r--target/linux/brcm2708/modules.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index a49f9d48b6..47738abd40 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -5,6 +5,24 @@
# See /LICENSE for more information.
#
+define KernelPackage/drm-vc4
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Broadcom VC4 Graphics
+ DEPENDS:=@TARGET_brcm2708 +kmod-drm
+ KCONFIG:=CONFIG_DRM_VC4
+ FILES:= \
+ $(LINUX_DIR)/drivers/gpu/drm/vc4/vc4.ko \
+ $(LINUX_DIR)/drivers/gpu/drm/drm_kms_helper.ko
+ AUTOLOAD:=$(call AutoProbe,vc4)
+endef
+
+define KernelPackage/drm-vc4/description
+ Direct Rendering Manager (DRM) support for Broadcom VideoCore IV GPU
+ used in BCM2835, BCM2836 and BCM2837 SoCs (e.g. Raspberry Pi).
+endef
+
+$(eval $(call KernelPackage,drm-vc4))
+
define KernelPackage/sound-arm-bcm2835
TITLE:=BCM2835 ALSA driver
KCONFIG:= \