Skip to content

Commit adef931

Browse files
ideakgregkh
authored andcommitted
drm/i915/dp_mst: Disable Panel Replay
[ Upstream commit f2687d3cc9f905505d7b510c50970176115066a2 ] 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: 3257e55 ("drm/i915/panelreplay: enable/disable panel replay") Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15174 Cc: Jouni Högander <[email protected]> Cc: Animesh Manna <[email protected]> Cc: [email protected] # v6.8+ Reviewed-by: Jouni Högander <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patch.msgid.link/[email protected] (cherry picked from commit e109f644b871df8440c886a69cdce971ed533088) Signed-off-by: Rodrigo Vivi <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent cd1aa3e commit adef931

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpu/drm/i915/display/intel_psr.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,10 @@ static void _panel_replay_init_dpcd(struct intel_dp *intel_dp)
602602
struct intel_display *display = to_intel_display(intel_dp);
603603
int ret;
604604

605+
/* TODO: Enable Panel Replay on MST once it's properly implemented. */
606+
if (intel_dp->mst_detect == DRM_DP_MST)
607+
return;
608+
605609
ret = drm_dp_dpcd_read_data(&intel_dp->aux, DP_PANEL_REPLAY_CAP_SUPPORT,
606610
&intel_dp->pr_dpcd, sizeof(intel_dp->pr_dpcd));
607611
if (ret < 0)

0 commit comments

Comments
 (0)