Commit 4d2f22d1 authored by Hugo Hu's avatar Hugo Hu Committed by Alex Deucher

drm/amd/display: Use the maximum link setting which EDP reported.

Signed-off-by: default avatarHugo Hu <hugo.hu@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 506ab334
...@@ -1470,6 +1470,12 @@ void decide_link_settings(struct dc_stream_state *stream, ...@@ -1470,6 +1470,12 @@ void decide_link_settings(struct dc_stream_state *stream,
return; return;
} }
/* EDP use the link cap setting */
if (stream->sink->sink_signal == SIGNAL_TYPE_EDP) {
*link_setting = link->verified_link_cap;
return;
}
/* search for the minimum link setting that: /* search for the minimum link setting that:
* 1. is supported according to the link training result * 1. is supported according to the link training result
* 2. could support the b/w requested by the timing * 2. could support the b/w requested by the timing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment