diff options
author | Dave Airlie <airlied@linux.ie> | 2006-09-27 18:10:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-27 18:10:30 +1000 |
commit | 5b98545618141e86164f3ce66469f9e16b1cf6d4 (patch) | |
tree | 50c3aeee7aa56f5e1fa16ba6359028bced9c0fe1 /src/radeon_display.c | |
parent | 74c725bd86348b5bf9bba0c50e8a6a7885d7ff7b (diff) |
radeon: don't move connectors around if LVDS connector is connector 1
On my laptop this allow me to plug or not plug a monitor without affecting
my lvds
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r-- | src/radeon_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index 791cdfe4..8537da40 100644 --- a/src/radeon_display.c +++ b/src/radeon_display.c @@ -980,7 +980,7 @@ static void RADEONQueryConnectedDisplays(ScrnInfoPtr pScrn) /* On my Inspiron 8600 both internal and external ports are marked DAC_PRIMARY in BIOS. So be extra careful - only swap when the first port is not DAC_PRIMARY */ - if ( (pRADEONEnt->PortInfo[1].DACType == DAC_PRIMARY) && + if ((!(pRADEONEnt->PortInfo[0].ConnectorType == CONNECTOR_PROPRIETARY)) && (pRADEONEnt->PortInfo[1].DACType == DAC_PRIMARY) && (pRADEONEnt->PortInfo[0].DACType != DAC_PRIMARY)) { RADEONConnector connector; connector = pRADEONEnt->PortInfo[0]; |