> -----Original Message----- > From: Intel-xe <[email protected]> On Behalf Of Jouni > Högander > Sent: Monday, 8 June 2026 9.53 > To: [email protected]; [email protected] > Cc: Hogander, Jouni <[email protected]> > Subject: [PATCH] drm/i915/psr: Do not check display or eDP revision for DP > > DP Panel Replay is supported only by display version >= 14. So no need to > check display version in case of DP when checking support for SDP on prior > scanline. Also checking eDP version doesn't make sense in case of DP. >
Reviewed-by: Mika Kahola <[email protected]> > Signed-off-by: Jouni Högander <[email protected]> > --- > drivers/gpu/drm/i915/display/intel_psr.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_psr.c > b/drivers/gpu/drm/i915/display/intel_psr.c > index d9fcf52328eab..d93340a9d9f9e 100644 > --- a/drivers/gpu/drm/i915/display/intel_psr.c > +++ b/drivers/gpu/drm/i915/display/intel_psr.c > @@ -1431,8 +1431,9 @@ static bool > _compute_psr2_sdp_prior_scanline_indication(struct intel_crtc_state > if ((hblank_ns - req_ns) > 100) > return true; > > - /* Not supported <13 / Wa_22012279113:adl-p */ > - if (DISPLAY_VER(display) < 14 || intel_dp->edp_dpcd[0] < DP_EDP_14b) > + /* Not supported <14 / Wa_22012279113:adl-p */ > + if (intel_dp_is_edp(intel_dp) && (DISPLAY_VER(display) < 14 || > + intel_dp->edp_dpcd[0] < DP_EDP_14b)) > return false; > > crtc_state->req_psr2_sdp_prior_scanline = true; > -- > 2.43.0
