summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/t420/gma-mainboard.ads
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-04-19 22:20:19 +0200
committerNico Huber <nico.h@gmx.de>2017-04-21 13:24:43 +0200
commit8795feb644c38f4cdae882e3cea934c7ec996661 (patch)
tree50e711b0a219c02acab32fc13c9e37004a7bfd38 /src/mainboard/lenovo/t420/gma-mainboard.ads
parentb86ccbbeabdbe7aa891a24304ee3424925060274 (diff)
downloadcoreboot-8795feb644c38f4cdae882e3cea934c7ec996661.tar.gz
coreboot-8795feb644c38f4cdae882e3cea934c7ec996661.tar.bz2
coreboot-8795feb644c38f4cdae882e3cea934c7ec996661.zip
mb/lenovo/t420: Enable libgfxinit
In the single GPU configuration, the T420 has an LVDS port, one DP++ and one VGA port connected to the IGD. Docking solutions feature up to two additional DP/DVI-D ports, also directly connected to the IGD. This makes the list of ports to probe pretty long (takes about 70ms if nothing but LVDS is connected). We could save about 20~30ms if we'd limit the ports in case we are not docked or have a discrete GPU. Change-Id: I8e02c8003ff745d05ee272c59377174847f5219c Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/19378 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/lenovo/t420/gma-mainboard.ads')
-rw-r--r--src/mainboard/lenovo/t420/gma-mainboard.ads20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t420/gma-mainboard.ads b/src/mainboard/lenovo/t420/gma-mainboard.ads
new file mode 100644
index 000000000000..736dce71e0ff
--- /dev/null
+++ b/src/mainboard/lenovo/t420/gma-mainboard.ads
@@ -0,0 +1,20 @@
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (DP1,
+ DP2,
+ DP3,
+ HDMI1,
+ HDMI2,
+ HDMI3,
+ Analog,
+ Internal,
+ others => Disabled);
+
+end GMA.Mainboard;