<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26647">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gma: Fix Ironlake panel fitting<br><br>Apparently the scaled width must be even. This seems to be nowhere<br>documented.<br><br>Change-Id: Ic1484eda0f6022cd8a37611fdfb9d2c50b390b72<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M common/hw-gfx-gma-pipe_setup.adb<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/47/26647/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/common/hw-gfx-gma-pipe_setup.adb b/common/hw-gfx-gma-pipe_setup.adb</span><br><span>index 4544e73..765d29a 100644</span><br><span>--- a/common/hw-gfx-gma-pipe_setup.adb</span><br><span>+++ b/common/hw-gfx-gma-pipe_setup.adb</span><br><span>@@ -413,6 +413,11 @@</span><br><span>          Max_Height  => Pos32 (Mode.V_Visible),</span><br><span>          Framebuffer => Framebuffer);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+      -- Apparently not documented, but needs to be even:</span><br><span style="color: hsl(120, 100%, 40%);">+      if Width mod 2 = 1 then</span><br><span style="color: hsl(120, 100%, 40%);">+         Width := Width + 1;</span><br><span style="color: hsl(120, 100%, 40%);">+      end if;</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       Registers.Write</span><br><span>         (Register => Controller.PF_CTRL,</span><br><span>          Value    => PF_CTRL_ENABLE or PF_Ctrl_Pipe_Sel or PF_CTRL_FILTER_MED);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26647">change 26647</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/26647"/><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: Ic1484eda0f6022cd8a37611fdfb9d2c50b390b72 </div>
<div style="display:none"> Gerrit-Change-Number: 26647 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>