We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f5355 commit 6be50f5Copy full SHA for 6be50f5
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@ -1820,8 +1820,7 @@ bool perform_link_training_with_retries(
1820
*/
1821
panel_mode = DP_PANEL_MODE_DEFAULT;
1822
}
1823
- } else
1824
- panel_mode = DP_PANEL_MODE_DEFAULT;
+ }
1825
1826
#endif
1827
@@ -4650,7 +4649,10 @@ enum dp_panel_mode dp_get_panel_mode(struct dc_link *link)
4650
4649
4651
4652
4653
- if (link->dpcd_caps.panel_mode_edp) {
+ if (link->dpcd_caps.panel_mode_edp &&
+ (link->connector_signal == SIGNAL_TYPE_EDP ||
4654
+ (link->connector_signal == SIGNAL_TYPE_DISPLAY_PORT &&
4655
+ link->is_internal_display))) {
4656
return DP_PANEL_MODE_EDP;
4657
4658
0 commit comments