summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)