Nico Huber has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81645?usp=email )
Change subject: lenovo/haswell: enable ONBOARD_VGA_IS_PRIMARY ......................................................................
lenovo/haswell: enable ONBOARD_VGA_IS_PRIMARY
Haswell ThinkPads have Nvidia Optimus wired in on some models. With recent coreboot changes, legacy VGA decode is now disabled on the iGPU, and the iGPU itself is disabled, when a dGPU is present. This is a problem on Optimus laptops, because it means that the Intel GPU would be effectively disabled, when it is the one that has to handle the framebuffer.
On these boards, you can enable ONBOARD_VGA_IS_PRIMARY so that coreboot does not disable the iGPU. This is because on Optimus laptops, the Nvidia GPU is only used for offloaded rendering.
Enable ONBOARD_VGA_IS_PRIMARY by default on these boards.
Change-Id: I8f1e0ca2861d1cc9a9ad41e7c9257aeca1a62a31 Signed-off-by: Leah Rowe info@minifree.org Reviewed-on: https://review.coreboot.org/c/coreboot/+/81645 Reviewed-by: Nico Huber nico.h@gmx.de Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/lenovo/haswell/Kconfig 1 file changed, 4 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, but someone else must approve Nico Huber: Looks good to me, approved
diff --git a/src/mainboard/lenovo/haswell/Kconfig b/src/mainboard/lenovo/haswell/Kconfig index b874452..a5c8054 100644 --- a/src/mainboard/lenovo/haswell/Kconfig +++ b/src/mainboard/lenovo/haswell/Kconfig @@ -60,6 +60,10 @@ default "ThinkPad T440p" if BOARD_LENOVO_THINKPAD_T440P default "ThinkPad W541" if BOARD_LENOVO_THINKPAD_W541
+config ONBOARD_VGA_IS_PRIMARY + bool + default y + config VGA_BIOS_ID string default "8086,0416" if BOARD_LENOVO_THINKPAD_T440P