<p>Bill XIE has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21070">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/lenovo/t430s: Enable libgfxinit<br><br>Tested on T430s with an external screen connected to every one of the<br>DP ports (miniDP on mainboard, two DP ports on dock), the GRUB payload<br>can display on both the external screen and the internal LVDS screen.<br><br>This is a copy-paste of I8f270d558668c1fe41bcdcc7d6d2aa7f053c85b6.<br><br>Change-Id: Ifb1471ecb18927c30c61c64011cbb0e20a465558<br>Signed-off-by: Bill XIE <persmule@gmail.com><br>---<br>M src/mainboard/lenovo/t430s/Kconfig<br>M src/mainboard/lenovo/t430s/Makefile.inc<br>A src/mainboard/lenovo/t430s/gma-mainboard.ads<br>3 files changed, 23 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/21070/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig<br>index 51c39e6..f45fb0d 100644<br>--- a/src/mainboard/lenovo/t430s/Kconfig<br>+++ b/src/mainboard/lenovo/t430s/Kconfig<br>@@ -19,6 +19,8 @@<br>       select SANDYBRIDGE_IVYBRIDGE_LVDS<br>     select ENABLE_VMX<br>     select MAINBOARD_HAS_LPC_TPM<br>+ select MAINBOARD_HAS_LIBGFXINIT<br>+      select GFX_GMA_INTERNAL_IS_LVDS<br> <br>    # Workaround for EC/KBC IRQ1.<br>         select SERIRQ_CONTINUOUS_MODE<br>diff --git a/src/mainboard/lenovo/t430s/Makefile.inc b/src/mainboard/lenovo/t430s/Makefile.inc<br>index 9eb141a..cb01f1c 100644<br>--- a/src/mainboard/lenovo/t430s/Makefile.inc<br>+++ b/src/mainboard/lenovo/t430s/Makefile.inc<br>@@ -15,3 +15,4 @@<br> <br> smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c<br> romstage-y += gpio.c<br>+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads<br>diff --git a/src/mainboard/lenovo/t430s/gma-mainboard.ads b/src/mainboard/lenovo/t430s/gma-mainboard.ads<br>new file mode 100644<br>index 0000000..736dce7<br>--- /dev/null<br>+++ b/src/mainboard/lenovo/t430s/gma-mainboard.ads<br>@@ -0,0 +1,20 @@<br>+with HW.GFX.GMA;<br>+with HW.GFX.GMA.Display_Probing;<br>+<br>+use HW.GFX.GMA;<br>+use HW.GFX.GMA.Display_Probing;<br>+<br>+private package GMA.Mainboard is<br>+<br>+   ports : constant Port_List :=<br>+     (DP1,<br>+      DP2,<br>+      DP3,<br>+      HDMI1,<br>+      HDMI2,<br>+      HDMI3,<br>+      Analog,<br>+      Internal,<br>+      others => Disabled);<br>+<br>+end GMA.Mainboard;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21070">change 21070</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21070"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ifb1471ecb18927c30c61c64011cbb0e20a465558 </div>
<div style="display:none"> Gerrit-Change-Number: 21070 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Bill XIE <persmule@gmail.com> </div>