[coreboot] Patch merged into coreboot/master: 34746a9 rs780: Implement `rs780_internal_gfx_disable` and add .disable pcie_ops

gerrit at coreboot.org gerrit at coreboot.org
Sun Dec 30 22:45:57 CET 2012

the following patch was just integrated into master:
commit 34746a9c48165f89f80fb664d46b646ca9e44779
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Thu Dec 20 18:42:00 2012 +0100

    rs780: Implement `rs780_internal_gfx_disable` and add .disable pcie_ops
    That code will be used to disable the internal GFX card and enable the
    external PCIe card.
    The following lines from function `rs780_internal_gfx_enable()` are
    taken and reversed.
    	/* Disable external GFX and enable internal GFX. */
    	l_dword = pci_read_config32(nb_dev, 0x8c);
    	l_dword &= ~(1<<0);
    	l_dword |= 1<<1;
    	pci_write_config32(nb_dev, 0x8c, l_dword);
    It has been tested on the M4A785T-M with the following card inside the
    PCIe 16x slot:
      02:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 210] (rev a2)
    Change-Id: I7bd412b987fde98c97464175e2c7a384a8f0fb84
    Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-on: http://review.coreboot.org/2065
    Tested-by: build bot (Jenkins)

Build-Tested: build bot (Jenkins) at Sun Dec 30 22:22:33 2012, giving +1
Reviewed-By: Denis Carikli <GNUtoo at no-log.org> at Sun Dec 30 22:29:20 2012, giving +1
Reviewed-By: Paul Menzel <paulepanter at users.sourceforge.net> at Sun Dec 30 22:45:56 2012, giving +2
See http://review.coreboot.org/2065 for details.


More information about the coreboot mailing list