summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t400/cmos.layout
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-01-02 16:16:45 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-02-19 19:15:40 +0100
commitf9d5308690e96002dbeab77b78e499dcd2d3a42f (patch)
treedeab6f631bc590927ca65fbb9a13f9f3da3f1bf7 /src/mainboard/lenovo/t400/cmos.layout
parent3fee215a3e0ee121f5764a4e9fe194b249e42009 (diff)
downloadcoreboot-f9d5308690e96002dbeab77b78e499dcd2d3a42f.tar.xz
mb/lenovo/t400: Implement hybrid graphic in romstage
The hybrid driver select by DRIVERS_LENOVO_HYBRID_GRAPHICS doesn't work for t400/t500. Replace it with a custom romstage implementation. Tested on Lenovo T500 with dual graphics: * Intel Native GFX init * AMD VBios * GNU Linux 4.8.13 * SeaBios as payload * Discrete is working (44 W) * Integrated is working (24 W) * Switchable is working (34 W) ** Both GPUs are enabled, with Intel being connected to the panel ** DRI_PRIME allows to use AMD GPU ** ACPI doesn't seem to work (no vgaswitcheroo) Depends on Change-Id: I4dc00005270240c048272b2e4f52ae46ba1c9422 Depends on Change-Id: If389016f3bb0c4c2fd0b826914997a87a9137201 Change-Id: I7496876e9b434d4a2388e1ede27ac604670339b7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/18010 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'src/mainboard/lenovo/t400/cmos.layout')
-rw-r--r--src/mainboard/lenovo/t400/cmos.layout1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/cmos.layout b/src/mainboard/lenovo/t400/cmos.layout
index 61212ddd0e..cf31453718 100644
--- a/src/mainboard/lenovo/t400/cmos.layout
+++ b/src/mainboard/lenovo/t400/cmos.layout
@@ -142,6 +142,7 @@ enumerations
11 12 352M
12 0 Integrated Only
12 1 Discrete Only
+12 2 Switchable
# -----------------------------------------------------------------
checksums