<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27052">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gma config: Introduce Has_Ivy_Bridge_FDI<br><br>Change-Id: I2adeaef88fb79c40e999d0857f927ffe82a9c41b<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M common/hw-gfx-gma-config.ads.template<br>M common/ironlake/hw-gfx-gma-connectors-fdi.adb<br>2 files changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/52/27052/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template</span><br><span>index 8a1cc16..f743957 100644</span><br><span>--- a/common/hw-gfx-gma-config.ads.template</span><br><span>+++ b/common/hw-gfx-gma-config.ads.template</span><br><span>@@ -90,6 +90,7 @@</span><br><span>    Has_Original_ILK_Trans  : constant Boolean := CPU = Ironlake;</span><br><span>    Has_Trans_DP_Ctl        : constant Boolean := CPU in</span><br><span>                                                  Sandybridge .. Ivybridge;</span><br><span style="color: hsl(120, 100%, 40%);">+   Has_Ivy_Bridge_FDI      : constant Boolean := CPU = Ivybridge;</span><br><span>    Has_FDI_C               : constant Boolean := CPU = Ivybridge;</span><br><span> </span><br><span>    Has_FDI_RX_Power_Down   : constant Boolean := CPU in Haswell .. Broadwell;</span><br><span>diff --git a/common/ironlake/hw-gfx-gma-connectors-fdi.adb b/common/ironlake/hw-gfx-gma-connectors-fdi.adb</span><br><span>index f38c135..6a41d21 100644</span><br><span>--- a/common/ironlake/hw-gfx-gma-connectors-fdi.adb</span><br><span>+++ b/common/ironlake/hw-gfx-gma-connectors-fdi.adb</span><br><span>@@ -40,7 +40,7 @@</span><br><span>    FDI_TX_CTL_AUTO_TRAIN_ENABLE        : constant :=      1 * 2 ** 10;</span><br><span>    FDI_TX_CTL_AUTO_TRAIN_DONE          : constant :=      1 * 2 **  1;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   TP_SHIFT : constant := (if Config.CPU <= Sandybridge then 28 else 8);</span><br><span style="color: hsl(120, 100%, 40%);">+   TP_SHIFT : constant := (if Config.Has_Ivy_Bridge_FDI then 8 else 28);</span><br><span>    FDI_TX_CTL_TRAINING_PATTERN_MASK    : constant := 3 * 2 ** TP_SHIFT;</span><br><span>    FDI_TX_CTL_TRAINING_PATTERN_1       : constant := 0 * 2 ** TP_SHIFT;</span><br><span>    FDI_TX_CTL_TRAINING_PATTERN_2       : constant := 1 * 2 ** TP_SHIFT;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27052">change 27052</a>. To unsubscribe, or for help writing mail filters, 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/27052"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libgfxinit </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I2adeaef88fb79c40e999d0857f927ffe82a9c41b </div>
<div style="display:none"> Gerrit-Change-Number: 27052 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>