summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-07 19:02:35 +0200
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-07 19:02:35 +0200
commit99b3df154317f0209618e532282a3e7ad091c00f (patch)
tree32ff0ef780bdd0fd96efa8700451f83fb8b6deaf /src/radeon_bios.c
parent2a1cd107a593630001799d6cd9e72c64222553b2 (diff)
RADEON - update randr cursor handling, LVDS setup fix
- quick fix for the cursor handling to update to the latest server bits - make sure connector type is CONNECTOR_PROPRIETARY for LVDS.
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 1d4c9bbb..fa316a66 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -286,6 +286,11 @@ Bool RADEONGetConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
else connector_found = 3;
}
+ /* some bioses seem to list the LVDS port as DVI hack around that here */
+ if (pRADEONEnt->PortInfo[0]->ConnectorType == CONNECTOR_DVI_D) {
+ pRADEONEnt->PortInfo[0]->ConnectorType = CONNECTOR_PROPRIETARY;
+ }
+
if ((tmp = RADEON_BIOS16(info->ROMHeaderStart + 0x42))) {
if ((tmp0 = RADEON_BIOS16(tmp + 0x15))) {
if ((tmp1 = RADEON_BIOS8(tmp0+2) & 0x07)) {