Commit 01da701b authored by Ankit Nautiyal's avatar Ankit Nautiyal Committed by Matt Roper
Browse files

drm/i915/dg2: Configure PCON in DP pre-enable path

parent 70418a68
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2402,6 +2402,7 @@ static void dg2_ddi_pre_enable_dp(struct intel_atomic_state *state,
	if (!is_mst)
		intel_dp_set_power(intel_dp, DP_SET_POWER_D0);

	intel_dp_configure_protocol_converter(intel_dp, crtc_state);
	intel_dp_sink_set_decompression_state(intel_dp, crtc_state, true);
	/*
	 * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit
@@ -2409,6 +2410,8 @@ static void dg2_ddi_pre_enable_dp(struct intel_atomic_state *state,
	 * training
	 */
	intel_dp_sink_set_fec_ready(intel_dp, crtc_state);
	intel_dp_check_frl_training(intel_dp);
	intel_dp_pcon_dsc_configure(intel_dp, crtc_state);

	/*
	 * 5.h Follow DisplayPort specification training sequence (see notes for