kernel: disable drm-i915 module for x86/geode
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 17 Nov 2024 07:40:44 +0000 (08:40 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 17 Nov 2024 11:28:58 +0000 (12:28 +0100)
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@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16977
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/linux/modules/video.mk

index fc0f038863ceaf0b5c6f8f5004ed9d95729dd900..f2fa82fd039c78cdee961c42e6f093d080393523 100644 (file)
@@ -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