M4A785T-M: Add support for external GFX.
This commit enables the external graphics card. In order to work, the internal graphic card has to be disabled, that is done in src/device/device.c through: vga_onboard->ops->disable(vga_onboard); which calls the RS780 disable operation introduced in the following commit: "rs780: add .disable pcie_ops" This commit was tested with and without the following card: 02:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 210] (rev a2) Thanks Aladyshev for the pointer(in the #coreboot IRC channel on Freenode servers): Dec 20 19:43:32 <Aladyshev> If you list your internal card in devicetree.cb, coreboot will distinguish external and internal VGA and choose external one Change-Id: I92e59dffd158db096a6e99d1ef6e2e248fef933c Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Reviewed-on: http://review.coreboot.org/2067 Tested-by: build bot (Jenkins) Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
6c6b2e8cba
commit
9a0e3e2fc2
|
@ -10,8 +10,10 @@ chip northbridge/amd/amdfam10/root_complex
|
||||||
device pci 18.0 on # northbridge
|
device pci 18.0 on # northbridge
|
||||||
chip southbridge/amd/rs780
|
chip southbridge/amd/rs780
|
||||||
device pci 0.0 on end # HT 0x9600
|
device pci 0.0 on end # HT 0x9600
|
||||||
device pci 1.0 on end # Internal Graphics P2P bridge 0x9602
|
device pci 1.0 on # Internal Graphics P2P bridge 0x9602
|
||||||
device pci 2.0 off end # PCIE P2P bridge (external graphics) 0x9603
|
device pci 5.0 on end # onboard VGA
|
||||||
|
end
|
||||||
|
device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x9603
|
||||||
device pci 3.0 off end # PCIE P2P bridge 0x960b
|
device pci 3.0 off end # PCIE P2P bridge 0x960b
|
||||||
device pci 4.0 off end # PCIE P2P bridge 0x9604
|
device pci 4.0 off end # PCIE P2P bridge 0x9604
|
||||||
device pci 5.0 off end # PCIE P2P bridge 0x9605
|
device pci 5.0 off end # PCIE P2P bridge 0x9605
|
||||||
|
@ -24,7 +26,7 @@ chip northbridge/amd/amdfam10/root_complex
|
||||||
register "gpp_configuration" = "3" # Configuration D default
|
register "gpp_configuration" = "3" # Configuration D default
|
||||||
register "port_enable" = "0x6fc"
|
register "port_enable" = "0x6fc"
|
||||||
register "gfx_dev2_dev3" = "1"
|
register "gfx_dev2_dev3" = "1"
|
||||||
register "gfx_dual_slot" = "2"
|
register "gfx_dual_slot" = "0"
|
||||||
|
|
||||||
register "gfx_lane_reversal" = "0"
|
register "gfx_lane_reversal" = "0"
|
||||||
register "gfx_tmds" = "0"
|
register "gfx_tmds" = "0"
|
||||||
|
|
Loading…
Reference in New Issue