aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index 00528b214a9f..61e8c3e02d16 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@ -1470,6 +1470,12 @@ void decide_link_settings(struct dc_stream_state *stream,
1470 return; 1470 return;
1471 } 1471 }
1472 1472
1473 /* EDP use the link cap setting */
1474 if (stream->sink->sink_signal == SIGNAL_TYPE_EDP) {
1475 *link_setting = link->verified_link_cap;
1476 return;
1477 }
1478
1473 /* search for the minimum link setting that: 1479 /* search for the minimum link setting that:
1474 * 1. is supported according to the link training result 1480 * 1. is supported according to the link training result
1475 * 2. could support the b/w requested by the timing 1481 * 2. could support the b/w requested by the timing