aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-02-06 13:38:05 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-17 19:22:39 +0100
commit2f239c02a031afdfbfa83201d3d8890671fe6932 (patch)
treec3f358310c8c5f2109a2ec4db4a6fd6b9ca2c8ec /package
parentcb3798cf3f192103568211838e3c21bba137463e (diff)
downloadupstream-2f239c02a031afdfbfa83201d3d8890671fe6932.tar.gz
upstream-2f239c02a031afdfbfa83201d3d8890671fe6932.tar.bz2
upstream-2f239c02a031afdfbfa83201d3d8890671fe6932.zip
x86: video: add amdgpu DRM kernel package
build amdgpu kernel as modules so it will find the firmware files Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/video.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 214a867e1e..92d027a30c 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -178,6 +178,28 @@ endef
$(eval $(call KernelPackage,drm))
+define KernelPackage/drm-amdgpu
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=AMDGPU DRM support
+ DEPENDS:=@DISPLAY_SUPPORT +kmod-drm +kmod-i2c-algo-bit +amdgpu-firmware
+ KCONFIG:=CONFIG_DRM_AMDGPU \
+ CONFIG_DRM_AMDGPU_SI=y \
+ CONFIG_DRM_AMDGPU_CIK=y \
+ CONFIG_DRM_AMD_DC=y \
+ CONFIG_DEBUG_KERNEL_DC=n
+ FILES:=$(LINUX_DIR)/drivers/gpu/drm/amd/amdgpu/amdgpu.ko \
+ $(LINUX_DIR)/drivers/gpu/drm/scheduler/gpu-sched.ko@ge4.15 \
+ $(LINUX_DIR)/drivers/gpu/drm/amd/lib/chash.ko@ge4.15
+ AUTOLOAD:=$(call AutoProbe,amdgpu)
+endef
+
+define KernelPackage/drm-amdgpu/description
+ Direct Rendering Manager (DRM) support for AMDGPU Cards
+endef
+
+$(eval $(call KernelPackage,drm-amdgpu))
+
+
define KernelPackage/drm-imx
SUBMENU:=$(VIDEO_MENU)
TITLE:=Freescale i.MX DRM support