<p>Tristan Corrick <strong>uploaded patch set #7</strong> to this change.</p><p><a href="https://review.coreboot.org/c/coreboot/+/30272">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nb/intel/haswell: Add support for PCIe graphics<br><br>PEG link training is started in early romstage, before the MRC runs.<br>The MRC will then set (and lock) GGC, and, if there is a device of VGA<br>class present in a PEG slot, disable the IGD:<br><br>  Before the MRC: GGC = 0x0208, DEVEN = 0x00000039.<br>     After the MRC:  GGC = 0x0003, DEVEN = 0x00000029.<br><br>If the IGD needs to be kept enabled, the PEG device is hidden while the<br>MRC runs. The link training is able to continue even while the PEG<br>device is hidden.<br><br>Only PEG2 is supported. An extra (unknown) training sequence is said to<br>be needed for PEG3.<br><br>The ACPI _PRT method is not yet generated, so legacy interrupt routing<br>doesn't work for devices with multiple functions.<br><br>Tested on an ASRock H81M-HDS. Using an x1 PCIe card in the PEG slot<br>works fine. Using a Radeon HD 6450 graphics card also works under<br>GNU/Linux, both using the display from the Radeon HD 6450, and when the<br>IGD is used for display output and `DRI_PRIME=1` is set.<br><br>Change-Id: I786ecb6eccad8de89778af7e736ed664323e220e<br>Signed-off-by: Tristan Corrick <tristan@corrick.kiwi><br>---<br>M src/cpu/intel/haswell/romstage.c<br>M src/northbridge/intel/haswell/early_init.c<br>M src/northbridge/intel/haswell/haswell.h<br>3 files changed, 83 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/30272/7</pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30272">change 30272</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/c/coreboot/+/30272"/><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-Change-Id: I786ecb6eccad8de89778af7e736ed664323e220e </div>
<div style="display:none"> Gerrit-Change-Number: 30272 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: Tristan Corrick <tristan@corrick.kiwi> </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Reviewer: Tristan Corrick <tristan@corrick.kiwi> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-CC: Arthur Heymans <arthur@aheymans.xyz> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>