From: Jouni Högander Date: Mon, 16 Sep 2024 08:57:06 +0000 (+0300) Subject: drm/i915/psr: eDP Panel Replay is not supported on pipes other than A and B X-Git-Tag: v6.13-rc1~122^2~19^2~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2478e2234d7d0196138fa2be3e5e538eae3ff888;p=thirdparty%2Fkernel%2Flinux.git drm/i915/psr: eDP Panel Replay is not supported on pipes other than A and B Do not allow Panel Replay if pipe is other than A or B. Bspec: 68920 Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2736 Signed-off-by: Jouni Högander Reviewed-by: Animesh Manna Link: https://patchwork.freedesktop.org/patch/msgid/20240916085706.2160511-1-jouni.hogander@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c index 4f29ac32ff85b..5ed446f1e3bab 100644 --- a/drivers/gpu/drm/i915/display/intel_psr.c +++ b/drivers/gpu/drm/i915/display/intel_psr.c @@ -1601,6 +1601,10 @@ _panel_replay_compute_config(struct intel_dp *intel_dp, /* Remaining checks are for eDP only */ + if (to_intel_crtc(crtc_state->uapi.crtc)->pipe != PIPE_A && + to_intel_crtc(crtc_state->uapi.crtc)->pipe != PIPE_B) + return false; + /* 128b/132b Panel Replay is not supported on eDP */ if (intel_dp_is_uhbr(crtc_state)) { drm_dbg_kms(display->drm,