diff options
author | Leah Rowe <info@minifree.org> | 2024-04-06 12:19:56 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2024-04-13 11:14:31 +0000 |
commit | 1a7ffa8521e0cee15a689176b29048e1c2bfcbcf (patch) | |
tree | bbeb6afcc0241dcdbe06f73b5f279caabbaad931 /src | |
parent | 316d687d3aba76112091ebbb369d2dd982d7e8cf (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/lenovo/haswell/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/haswell/Kconfig b/src/mainboard/lenovo/haswell/Kconfig index b874452f03..a5c8054bb8 100644 --- a/src/mainboard/lenovo/haswell/Kconfig +++ b/src/mainboard/lenovo/haswell/Kconfig @@ -60,6 +60,10 @@ config MAINBOARD_PART_NUMBER 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 |