[openwrt/openwrt] kernel: modules: video: select drm-exec and drm-suballoc-helper for AMDGPU

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


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

commit 8fb23465ca90073ae9313ee366af302930ec1d6c
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri Mar 15 12:50:43 2024 +0100

    kernel: modules: video: select drm-exec and drm-suballoc-helper for AMDGPU
    
    drm-amdgpu and drm-radeon require drm-exec and/or drm-suballoc-helper in
    6.6, so since we have them packaged separately include them when required.
    
    Fixes: 5b08b5600720 ("kernel: modules: video: adapt for kernel 6.6")
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/linux/modules/video.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 1e12ffbb40..16c4f51f5b 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -374,7 +374,8 @@ define KernelPackage/drm-amdgpu
   TITLE:=AMDGPU DRM support
   DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \
 	+kmod-drm-ttm-helper +kmod-drm-kms-helper +kmod-i2c-algo-bit +amdgpu-firmware \
-	+kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video
+	+kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video \
+	+LINUX_6_6:kmod-drm-exec +LINUX_6_6:kmod-drm-suballoc-helper
   KCONFIG:=CONFIG_DRM_AMDGPU \
 	CONFIG_DRM_AMDGPU_SI=y \
 	CONFIG_DRM_AMDGPU_CIK=y \
@@ -475,7 +476,7 @@ define KernelPackage/drm-radeon
   TITLE:=Radeon DRM support
   DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-kms-helper \
 	+kmod-drm-ttm +kmod-drm-ttm-helper +kmod-i2c-algo-bit +radeon-firmware \
-	+kmod-drm-display-helper +kmod-acpi-video
+	+kmod-drm-display-helper +kmod-acpi-video +LINUX_6_6:kmod-drm-suballoc-helper
   KCONFIG:=CONFIG_DRM_RADEON
   FILES:=$(LINUX_DIR)/drivers/gpu/drm/radeon/radeon.ko
   AUTOLOAD:=$(call AutoProbe,radeon)




More information about the lede-commits mailing list