mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
commit337bf13aa9("PCI/VGA: Replace vga_is_firmware_default() with a screen info check") introduced an implicit dependency upon SCREEN_INFO by removing the open coded implementation. If a user didn't have CONFIG_SCREEN_INFO set, vga_is_firmware_default() would now return false. SCREEN_INFO is only used on X86 so add a conditional select for SCREEN_INFO to ensure that the VGA arbiter works as intended. Fixes:337bf13aa9("PCI/VGA: Replace vga_is_firmware_default() with a screen info check") Reported-by: Eric Biggers <[email protected]> Closes: https://lore.kernel.org/linux-pci/20251012182302.GA3412@sol/ Suggested-by: Thomas Zimmermann <[email protected]> Signed-off-by: Mario Limonciello (AMD) <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Tested-by: Eric Biggers <[email protected]> Link: https://patch.msgid.link/[email protected]