From 7a4e8355e3751f620ef91239a1c61a9c1c41d5ca Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 13 Apr 2023 10:04:35 -0700 Subject: [PATCH] board/pc/linux.config: Add framebuffer and pci support Virtually all PCs nowadays have a PCI bridge and PCI devices. All framnebuffer options depend on CONFIG_FB, which default is not 'y', so also enable that. The overwhelming majority of PCs nowadays also come with an UEFI bootloader, that configures a framebuffer usable in early boot, which the kernel can reuse without needing any hardware-specific driver. EDID allows retrieving the capabilities of the connected display, especially the frequencies and so on, to properly drive the display. Signed-off-by: Adam Duskett [yann.morin.1998@free.fr: - drop cosmetic CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y - rewrite commit log to explain all new options ] Signed-off-by: Yann E. MORIN --- board/pc/linux.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/pc/linux.config b/board/pc/linux.config index f86352e1ea..43b15c94be 100644 --- a/board/pc/linux.config +++ b/board/pc/linux.config @@ -15,6 +15,7 @@ CONFIG_IP_NF_FILTER=y CONFIG_CFG80211=m CONFIG_CFG80211_WEXT=y CONFIG_MAC80211=m +CONFIG_PCI=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_VIRTIO_BLK=y @@ -63,7 +64,10 @@ CONFIG_DRM_I915=y CONFIG_DRM_QXL=y CONFIG_DRM_BOCHS=y CONFIG_DRM_VIRTIO_GPU=y +CONFIG_FB=y +CONFIG_FIRMWARE_EDID=y CONFIG_FB_VESA=y +CONFIG_FB_EFI=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_HDA_INTEL=y