diff options
author | Vladimir Dergachev <volodya@mindspring.com> | 2004-10-17 17:57:33 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@mindspring.com> | 2004-10-17 17:57:33 +0000 |
commit | ace6e1b7933cb415b8efc41dffa335938f9c89b5 (patch) | |
tree | 658dbdd6034522afb3dcd9b83dcb180da081be13 /src | |
parent | 22405e81b812c239b5d8653b402b5f846e6e10b1 (diff) |
Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 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
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_driver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 6f96652..abb24f4 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1634,7 +1634,11 @@ static BOOL RADEONQueryConnectedMonitors(ScrnInfoPtr pScrn) } else if ((pRADEONEnt->PortInfo[0].TMDSType != TMDS_INT && pRADEONEnt->PortInfo[1].TMDSType != TMDS_INT)) { /* no TMDS_INT port, make primary DAC port first */ - if (pRADEONEnt->PortInfo[1].DACType == DAC_PRIMARY) { + /* 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) && + (pRADEONEnt->PortInfo[0].DACType != DAC_PRIMARY)) { RADEONConnector connector; connector = pRADEONEnt->PortInfo[0]; pRADEONEnt->PortInfo[0] = pRADEONEnt->PortInfo[1]; |