From: Robert Marko Date: Fri, 15 Mar 2024 11:14:58 +0000 (+0100) Subject: kernel: modules: video: package DRM EXEC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6b3cc95f2e079a9924a225e343bdf9cb8b35d21;p=openwrt%2Fstaging%2Frmilecki.git 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 --- diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk index 1a4bf8ac779..73c94e391c3 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