radeon_hd: Fix DisplayPort connector check, #8282

This commit is contained in:
Alexander von Gluck IV
2012-01-13 17:56:03 -06:00
parent eb3e388241
commit 65705aca9a
@@ -711,8 +711,8 @@ bool
connector_is_dp(uint32 connectorIndex) connector_is_dp(uint32 connectorIndex)
{ {
if (gConnector[connectorIndex]->type == VIDEO_CONNECTOR_DP if (gConnector[connectorIndex]->type == VIDEO_CONNECTOR_DP
|| gConnector[connectorIndex]->type != VIDEO_CONNECTOR_EDP || gConnector[connectorIndex]->type == VIDEO_CONNECTOR_EDP
|| gConnector[connectorIndex]->encoder.isDPBridge == false) { || gConnector[connectorIndex]->encoder.isDPBridge == true) {
return true; return true;
} }
return false; return false;