summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-12-05 20:03:53 +1000
committerDave Airlie <airlied@linux.ie>2008-12-05 20:05:24 +1000
commitad2579f8898251105a6b36b745afd1ce1dab103e (patch)
treeb3e03c2e49a8cb130258f02e334a32cfa7213285
parentbae30856f2cb3884387ef347327af6ff00b75854 (diff)
radeon: damn you bios, HDMI cannot have DACs.
-rw-r--r--src/radeon_atombios.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index 5e811b54..6e214cef 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1676,6 +1676,9 @@ RADEONGetATOMConnectorInfoFromBIOSObject (ScrnInfoPtr pScrn)
break;
case ENCODER_OBJECT_ID_INTERNAL_DAC1:
case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1:
+ if (info->BiosConnector[i].ConnectorType == CONNECTOR_HDMI_TYPE_A ||
+ info->BiosConnector[i].ConnectorType == CONNECTOR_HDMI_TYPE_B)
+ break;
if (info->BiosConnector[i].ConnectorType == CONNECTOR_DIN ||
info->BiosConnector[i].ConnectorType == CONNECTOR_STV ||
info->BiosConnector[i].ConnectorType == CONNECTOR_CTV)
@@ -1687,6 +1690,9 @@ RADEONGetATOMConnectorInfoFromBIOSObject (ScrnInfoPtr pScrn)
break;
case ENCODER_OBJECT_ID_INTERNAL_DAC2:
case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2:
+ if (info->BiosConnector[i].ConnectorType == CONNECTOR_HDMI_TYPE_A ||
+ info->BiosConnector[i].ConnectorType == CONNECTOR_HDMI_TYPE_B)
+ break;
if (info->BiosConnector[i].ConnectorType == CONNECTOR_DIN ||
info->BiosConnector[i].ConnectorType == CONNECTOR_STV ||
info->BiosConnector[i].ConnectorType == CONNECTOR_CTV)