Union Station: Fixes to turn on HDMI

This commit includes the changes to enable the HDMI on Union
Station.  The changes switch the output from the display port
to the HDMI.

Change-Id: I4e15ff6db7d056f156791ff1406d4bae35ff2767
Signed-off-by: Frank Vibrans <frank.vibrans@se-eng.com>
Reviewed-on: http://review.coreboot.org/788
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Frank Vibrans 2012-03-13 11:02:04 -06:00 committed by Peter Stuge
parent 2fc955ebc0
commit 5efe10a637
3 changed files with 7 additions and 6 deletions

View File

@ -95,14 +95,14 @@ PCIe_DDI_DESCRIPTOR DdiList [] = {
0, //Descriptor flags 0, //Descriptor flags
PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 8, 11), PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 8, 11),
//PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux1, Hdp1) //PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux1, Hdp1)
{ConnectorTypeDP, Aux1, Hdp1} {ConnectorTypeHDMI, Aux1, Hdp1}
}, },
// Initialize Ddi descriptor (DDI interface Lanes 12:15, DdB, ...) // Initialize Ddi descriptor (DDI interface Lanes 12:15, DdB, ...)
{ {
DESCRIPTOR_TERMINATE_LIST, //Descriptor flags !!!IMPORTANT!!! Terminate last element of array DESCRIPTOR_TERMINATE_LIST, //Descriptor flags !!!IMPORTANT!!! Terminate last element of array
PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 12, 15), PCIE_ENGINE_DATA_INITIALIZER (PcieDdiEngine, 12, 15),
//PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux2, Hdp2) //PCIE_DDI_DATA_INITIALIZER (ConnectorTypeDP, Aux2, Hdp2)
{ConnectorTypeDP, Aux2, Hdp2} {ConnectorTypeHDMI, Aux2, Hdp2}
} }
}; };

View File

@ -176,7 +176,7 @@
//#define BLDCFG_SET_HTCRC_SYNC_FLOOD FALSE //#define BLDCFG_SET_HTCRC_SYNC_FLOOD FALSE
//#define BLDCFG_USE_UNIT_ID_CLUMPING FALSE //#define BLDCFG_USE_UNIT_ID_CLUMPING FALSE
//#define BLDCFG_SYSTEM_PHYSICAL_SOCKET_MAP 0 //#define BLDCFG_SYSTEM_PHYSICAL_SOCKET_MAP 0
#define BLDCFG_CFG_GNB_HD_AUDIO FALSE//TRUE #define BLDCFG_CFG_GNB_HD_AUDIO TRUE
//#define BLDCFG_CFG_ABM_SUPPORT FALSE //#define BLDCFG_CFG_ABM_SUPPORT FALSE
//#define BLDCFG_CFG_DYNAMIC_REFRESH_RATE 0 //#define BLDCFG_CFG_DYNAMIC_REFRESH_RATE 0
//#define BLDCFG_CFG_LCD_BACK_LIGHT_CONTROL 0 //#define BLDCFG_CFG_LCD_BACK_LIGHT_CONTROL 0

View File

@ -1166,13 +1166,14 @@ DefinitionBlock (
} /* end AMRT */ } /* end AMRT */
/* The internal GFX bridge */ /* The internal GFX bridge */
Device(AGPB) { Device(HDMI) {
Name(_ADR, 0x00010000) Name(_ADR, 0x00010000)
Name(_PRW, Package() {0x18, 4}) Name(_PRW, Package() {0x18, 4})
Method(_PRT,0) { Method(_PRT,0) {
Return (APR1) If(PMOD){ Return(APR1) } /* APIC mode */
Return (PR1) /* PIC Mode */
} }
} /* end AGPB */ } /* end HDMI */
/* The external GFX bridge */ /* The external GFX bridge */
Device(PBR2) { Device(PBR2) {