[openwrt/openwrt] kernel: modules: video: package DRM EXEC

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 15 07:25:08 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a6b3cc95f2e079a9924a225e343bdf9cb8b35d21

commit a6b3cc95f2e079a9924a225e343bdf9cb8b35d21
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri Mar 15 12:14:58 2024 +0100

    kernel: modules: video: package DRM EXEC
    
    Linux 6.6 has added DRM EXEC as a separate symbol, so package it separately
    as AMDGPU requires it.
    
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/linux/modules/video.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 1a4bf8ac77..73c94e391c 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -289,6 +289,22 @@ endef
 
 $(eval $(call KernelPackage,drm-display-helper))
 
+define KernelPackage/drm-exec
+  SUBMENU:=$(VIDEO_MENU)
+  HIDDEN:=1
+  TITLE:=Execution context for command submissions
+  DEPENDS:=@DISPLAY_SUPPORT +kmod-drm @LINUX_6_6
+  KCONFIG:=CONFIG_DRM_EXEC
+  FILES:=$(LINUX_DIR)/drivers/gpu/drm/drm_exec.ko
+  AUTOLOAD:=$(call AutoProbe,drm_exec)
+endef
+
+define KernelPackage/drm-exec/description
+  Execution context for command submissions.
+endef
+
+$(eval $(call KernelPackage,drm-exec))
+
 define KernelPackage/drm-ttm
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=GPU memory management subsystem




More information about the lede-commits mailing list