Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 506ab334
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -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