0005-asus-kgpe-d16-Allow-loading-Option-ROMs-so-that-we-c.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From b2c6c3265fcdc2a7614958a3af17b4826fe12307 Mon Sep 17 00:00:00 2001
  2. From: Leah Rowe <leah@libreboot.org>
  3. Date: Fri, 7 May 2021 19:39:34 +0100
  4. Subject: [PATCH 5/6] asus/kgpe-d16: Allow loading Option ROMs (so that we can
  5. use graphics cards)
  6. Since 49d99fcebc7c3860def51812c2f723ad3e8a4ea3 Option ROMs can't be loaded
  7. PCI graphics cards anymore when "Graphics initialization" is set to "Use
  8. native graphics init". This means only onboard graphics can be used until
  9. the OS or SeaBIOS initialise PCI graphics cards.
  10. This patch allows us to do a little hack. We can set "Use native graphics
  11. init" to "Run VGA Option ROMs" and activate "Load Option ROMs on PCI
  12. devices". This way coreboot will load the Option ROM on PCI graphics cards
  13. which means payloads like GRUB can display graphics.
  14. There's only one catch: onboard graphics won't work anymore. Because of this
  15. we'll include seavgabios.bin (compiled by SeaBIOS) in CBFS. This will give
  16. us the option to use both PCI graphics cards and onboard graphics that work
  17. with native graphics init.
  18. This is copied from the same patch for KCMA-D8
  19. ---
  20. src/mainboard/asus/kgpe-d16/Kconfig | 1 -
  21. 1 file changed, 1 deletion(-)
  22. diff --git a/src/mainboard/asus/kgpe-d16/Kconfig b/src/mainboard/asus/kgpe-d16/Kconfig
  23. index ffbfd53169..95016a0c7f 100644
  24. --- a/src/mainboard/asus/kgpe-d16/Kconfig
  25. +++ b/src/mainboard/asus/kgpe-d16/Kconfig
  26. @@ -30,7 +30,6 @@ config BOARD_SPECIFIC_OPTIONS
  27. select MAINBOARD_HAS_LPC_TPM
  28. select DRIVERS_I2C_W83795
  29. select DRIVERS_ASPEED_AST2050
  30. - select MAINBOARD_FORCE_NATIVE_VGA_INIT
  31. select POWER_STATE_DEFAULT_ON_AFTER_FAILURE
  32. select IPMI_KCS
  33. --
  34. 2.25.1