[openwrt/openwrt] kernel: disable drm-i915 module for x86/geode

LEDE Commits lede-commits at lists.infradead.org
Thu Nov 28 10:57:57 PST 2024


ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/abf78dd5d8cdf874b074fc96a8802f3178d9a32a

commit abf78dd5d8cdf874b074fc96a8802f3178d9a32a
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Sun Nov 17 08:40:44 2024 +0100

    kernel: disable drm-i915 module for x86/geode
    
    Disable drm-i915 module for target x86/geode.
    
    Fixes: 77cfe8f ("x86: make i915 as a kmod with required firmware")
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16977
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit 226f74badd61fb1586dd3531835aeaa3bf6fe467)
    Link: https://github.com/openwrt/openwrt/pull/17097
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/video.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index fc0f038863..f2fa82fd03 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -441,7 +441,8 @@ $(eval $(call KernelPackage,drm-amdgpu))
 define KernelPackage/drm-i915
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Intel i915 DRM support
-  DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \
+  DEPENDS:=@(TARGET_x86_64||TARGET_x86_generic||TARGET_x86_legacy) \
+	@DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \
 	+kmod-drm-ttm-helper +kmod-drm-kms-helper +kmod-i2c-algo-bit +i915-firmware-dmc \
 	+kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video \
 	+kmod-drm-exec +kmod-drm-suballoc-helper




More information about the lede-commits mailing list