radeon_hd: Fix DisplayPort connector check, #8282
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user