summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-10-06 20:11:19 +1000
committerDave Airlie <airlied@linux.ie>2007-10-06 20:11:19 +1000
commit0b03a73b7dcb4aa192c42f2a4c842d324c358122 (patch)
treedc8ab92b9327e3c0251371ce4b8736fd26093d24 /src/radeon_bios.c
parent83d7506a603889b6c18736cff9b2cd3296c95c84 (diff)
radeon: add support for DDC type 6
thanks to arekm on xorg-devel for testing/feedback
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 65c2bb0a..cb61428a 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -176,6 +176,9 @@ static Bool RADEONGetATOMConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
case RADEON_LCD_GPIO_MASK:
info->BiosConnector[i].DDCType = DDC_LCD;
break;
+ case RADEON_MDGPIO_EN_REG:
+ info->BiosConnector[i].DDCType = DDC_GPIO;
+ break;
default:
info->BiosConnector[i].DDCType = DDC_NONE_DETECTED;
break;
@@ -277,7 +280,7 @@ static Bool RADEONGetLegacyConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
tmp1 = RADEON_BIOS8(tmp0+2) & 0x07;
if (tmp1) {
info->BiosConnector[4].DDCType = tmp1;
- if (info->BiosConnector[4].DDCType > DDC_LCD) {
+ if (info->BiosConnector[4].DDCType > DDC_GPIO) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"Unknown DDCType %d found\n",
info->BiosConnector[4].DDCType);