Unverified Commit f2687d3c authored by Imre Deak's avatar Imre Deak Committed by Rodrigo Vivi
Browse files

drm/i915/dp_mst: Disable Panel Replay

Disable Panel Replay on MST links until it's properly implemented. For
instance the required VSC SDP is not programmed on MST and FEC is not
enabled if Panel Replay is enabled.

Fixes: 3257e55d ("drm/i915/panelreplay: enable/disable panel replay")
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15174


Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: stable@vger.kernel.org # v6.8+
Reviewed-by: default avatarJouni Högander <jouni.hogander@intel.com>
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251107124141.911895-1-imre.deak@intel.com


(cherry picked from commit e109f644)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 994dec10
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -585,6 +585,10 @@ static void _panel_replay_init_dpcd(struct intel_dp *intel_dp)
	struct intel_display *display = to_intel_display(intel_dp);
	int ret;

	/* TODO: Enable Panel Replay on MST once it's properly implemented. */
	if (intel_dp->mst_detect == DRM_DP_MST)
		return;

	ret = drm_dp_dpcd_read_data(&intel_dp->aux, DP_PANEL_REPLAY_CAP_SUPPORT,
				    &intel_dp->pr_dpcd, sizeof(intel_dp->pr_dpcd));
	if (ret < 0)