diff --git a/src/add-ons/accelerants/radeon_hd/display.cpp b/src/add-ons/accelerants/radeon_hd/display.cpp index c662112a82..3d83804aab 100644 --- a/src/add-ons/accelerants/radeon_hd/display.cpp +++ b/src/add-ons/accelerants/radeon_hd/display.cpp @@ -264,8 +264,10 @@ detect_displays() continue; } - if (gConnector[id]->type == VIDEO_CONNECTOR_DP) { - TRACE("%s: connector(%" B_PRIu32 "): Checking DP.\n", __func__, id); + if (gConnector[id]->type == VIDEO_CONNECTOR_DP + || gConnector[id]->type == VIDEO_CONNECTOR_EDP) { + TRACE("%s: connector(%" B_PRIu32 "): Checking %sDP.\n", __func__, id, + gConnector[id]->type == VIDEO_CONNECTOR_EDP ? "e" : ""); if (gConnector[id]->encoderExternal.valid == true) { // If this has a valid external encoder (dp bridge) @@ -284,6 +286,8 @@ detect_displays() if (gDisplay[displayIndex]->attached) { TRACE("%s: connector(%" B_PRIu32 "): Found DisplayPort EDID!\n", __func__, id); + gInfo->shared_info->has_edid = true; + edid_dump(edid); } } diff --git a/src/add-ons/accelerants/radeon_hd/displayport.cpp b/src/add-ons/accelerants/radeon_hd/displayport.cpp index 0efb4144a5..c7d59425eb 100644 --- a/src/add-ons/accelerants/radeon_hd/displayport.cpp +++ b/src/add-ons/accelerants/radeon_hd/displayport.cpp @@ -37,8 +37,8 @@ dp_aux_speak(uint32 connectorIndex, uint8* send, int sendBytes, uint8* recv, int recvBytes, uint8 delay, uint8* ack) { dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo; - if (dpInfo->auxPin == 0) { - ERROR("%s: cannot speak on invalid GPIO pin!\n", __func__); + if (!dpInfo->valid) { + ERROR("%s: cannot speak on invalid dpInfo!\n", __func__); return B_IO_ERROR; }