Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "Manna, Animesh" <animesh.manna@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915/psr: eDP Panel Replay is not supported on pipes other than A and B
Date: Wed, 18 Sep 2024 06:59:30 +0000	[thread overview]
Message-ID: <09780b81da3085689267ba40535fc3a9cadd0c57.camel@intel.com> (raw)
In-Reply-To: <BL1PR11MB59796A85A9EC50DA5EC42E85F9622@BL1PR11MB5979.namprd11.prod.outlook.com>

On Wed, 2024-09-18 at 06:17 +0000, Manna, Animesh wrote:
> 
> 
> > -----Original Message-----
> > From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf
> > Of Jouni
> > Högander
> > Sent: Monday, September 16, 2024 2:27 PM
> > To: intel-gfx@lists.freedesktop.org
> > Cc: Hogander, Jouni <jouni.hogander@intel.com>
> > Subject: [PATCH] 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 <jouni.hogander@intel.com>
> 
> Reviewed-by: Animesh Manna <animesh.manna@intel.com>

Thank you Animesh for your review. This is now pushed to drm-intel-
next.

BR,

Jouni Högander

> 
> > ---
> >  drivers/gpu/drm/i915/display/intel_psr.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> > b/drivers/gpu/drm/i915/display/intel_psr.c
> > index 1a4ef231a53ca..699892b8c967a 100644
> > --- a/drivers/gpu/drm/i915/display/intel_psr.c
> > +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> > @@ -1582,6 +1582,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,
> > --
> > 2.34.1
> 


      reply	other threads:[~2024-09-18  6:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16  8:57 [PATCH] drm/i915/psr: eDP Panel Replay is not supported on pipes other than A and B Jouni Högander
2024-09-16 14:12 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-09-16 21:33 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-09-18  6:45   ` Hogander, Jouni
2024-09-18  6:17 ` [PATCH] " Manna, Animesh
2024-09-18  6:59   ` Hogander, Jouni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09780b81da3085689267ba40535fc3a9cadd0c57.camel@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=animesh.manna@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox