From 05830dae0bf7e3b2694a9b44076462373bfa3cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Thu, 20 Mar 2025 17:33:17 +0100 Subject: [PATCH] Change i915 to module for proper initialization in VM passthrough (#3959) When Intel GPUs are used in passthrough, the i915 is probed too early and fails to load firmware which is in the rootfs mounted later. The CONFIG_DRM_I915=y comes from x86_64_defconfig, by changing it to module (like we do for generic-x86-64), the driver becomes only available after the rootfs is mounted and firmware is loaded correctly. Fixes #3949 --- buildroot-external/board/pc/ova/kernel.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildroot-external/board/pc/ova/kernel.config b/buildroot-external/board/pc/ova/kernel.config index 570c72876..4fe4be70a 100644 --- a/buildroot-external/board/pc/ova/kernel.config +++ b/buildroot-external/board/pc/ova/kernel.config @@ -90,6 +90,8 @@ CONFIG_FB_EFI=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y +CONFIG_DRM_I915=m + CONFIG_MMC=y CONFIG_MMC_BLOCK=y CONFIG_MMC_SDHCI=y