xf86-video-ati: Branch 'randr-1.2'
Alex Deucher
agd5f at kemper.freedesktop.org
Tue Jul 24 22:27:18 PDT 2007
src/radeon_bios.c | 7 +++++++
1 files changed, 7 insertions(+)
New commits:
diff-tree 193d58b0ea9de3e326017e50b88e2f3726854506 (from 262e32bd9ea4123b116362b33b5798753b2568fe)
Author: Alex Deucher <alex at botch2.com>
Date: Wed Jul 25 01:27:58 2007 -0400
RADEON: fix randr on r4xx
Seems the way we parse the ATOM connector table results
in reversed connectors.
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 10ef99f..26019ba 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -145,6 +145,7 @@ Bool RADEONGetConnectorInfoFromBIOS (Scr
{
RADEONInfoPtr info = RADEONPTR (pScrn);
int i = 0, j, tmp, tmp0=0, tmp1=0;
+ RADEONBIOSConnector tempConnector;
if(!info->VBIOS) return FALSE;
@@ -225,6 +226,12 @@ Bool RADEONGetConnectorInfoFromBIOS (Scr
}
}
}
+
+ /* R4xx seem to get the connector table backwards */
+ tempConnector = info->BiosConnector[0];
+ info->BiosConnector[0] = info->BiosConnector[1];
+ info->BiosConnector[1] = tempConnector;
+
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Bios Connector table: \n");
for (i=0; i<2; i++) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Port%d: DDCType-%d, DACType-%d, TMDSType-%d, ConnectorType-%d\n",
More information about the xorg-commit
mailing list