aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-02-03 18:53:48 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-17 19:22:39 +0100
commit2f6918ee9be9cf590eb3d7e9c4e10c2c149287d5 (patch)
tree21ca96116713d8f36c2a93a74f711f228850f487 /package/kernel
parentb06418016d3d43fadb21b72eac6ec4b791880aa7 (diff)
downloadupstream-2f6918ee9be9cf590eb3d7e9c4e10c2c149287d5.tar.gz
upstream-2f6918ee9be9cf590eb3d7e9c4e10c2c149287d5.tar.bz2
upstream-2f6918ee9be9cf590eb3d7e9c4e10c2c149287d5.zip
x86: video: add radeon DRM module support
add radeon module support so firmware can be loaded from userland Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/video.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 17436cdc31..214a867e1e 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -262,6 +262,20 @@ endef
$(eval $(call KernelPackage,drm-imx-ldb))
+define KernelPackage/drm-radeon
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Radeon DRM support
+ DEPENDS:=@DISPLAY_SUPPORT +kmod-drm +kmod-i2c-algo-bit +radeon-firmware
+ KCONFIG:=CONFIG_DRM_RADEON
+ FILES:=$(LINUX_DIR)/drivers/gpu/drm/radeon/radeon.ko
+ AUTOLOAD:=$(call AutoProbe,radeon)
+endef
+
+define KernelPackage/drm-radeon/description
+ Direct Rendering Manager (DRM) support for Radeon Cards
+endef
+
+$(eval $(call KernelPackage,drm-radeon))
#
# Video Capture