Ticket #13700: dp_all_the_lanes.diff

File dp_all_the_lanes.diff, 680 bytes (added by kallisti5, 7 years ago)
  • src/add-ons/accelerants/radeon_hd/mode.cpp

    diff --git a/src/add-ons/accelerants/radeon_hd/mode.cpp b/src/add-ons/accelerants/radeon_hd/mode.cpp
    index ec4fb04723..9231194db0 100644
    a b radeon_set_display_mode(display_mode* mode)  
    192192    // Determine DP lanes if DP
    193193    if (connector_is_dp(connectorIndex)) {
    194194        dp_info *dpInfo = &gConnector[connectorIndex]->dpInfo;
    195         dpInfo->laneCount = dp_get_lane_count(connectorIndex, mode);
     195        //dpInfo->laneCount = dp_get_lane_count(connectorIndex, mode);
     196        dpInfo->laneCount = dp_get_lane_count_max(dpInfo);
    196197        dpInfo->linkRate = dp_get_link_rate(connectorIndex, mode);
    197198    }
    198199