dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Manna, Animesh" <animesh.manna@intel.com>
To: "Souza, Jose" <jose.souza@intel.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Cc: "Nikula, Jani" <jani.nikula@intel.com>,
	"Navare, Manasi D" <manasi.d.navare@intel.com>,
	"Kahola, Mika" <mika.kahola@intel.com>,
	"Mun, Gwan-gyeong" <gwan-gyeong.mun@intel.com>
Subject: RE: [PATCH v3 1/5] drm/i915/panelreplay: dpcd register definition for panelreplay
Date: Tue, 4 Jan 2022 15:51:00 +0000	[thread overview]
Message-ID: <def0e0c3d24e4a83b8af55ef0c24f082@intel.com> (raw)
In-Reply-To: <5b91f3f1f0397401ea6bbc408940027448494259.camel@intel.com>



> -----Original Message-----
> From: Souza, Jose <jose.souza@intel.com>
> Sent: Wednesday, November 24, 2021 1:07 AM
> To: dri-devel@lists.freedesktop.org; Manna, Animesh
> <animesh.manna@intel.com>; intel-gfx@lists.freedesktop.org
> Cc: Mun, Gwan-gyeong <gwan-gyeong.mun@intel.com>; Nikula, Jani
> <jani.nikula@intel.com>; Kahola, Mika <mika.kahola@intel.com>; Navare,
> Manasi D <manasi.d.navare@intel.com>
> Subject: Re: [PATCH v3 1/5] drm/i915/panelreplay: dpcd register definition for
> panelreplay
> 
> On Sun, 2021-10-10 at 17:40 +0530, Animesh Manna wrote:
> > DPCD register definition added to check and enable panel replay
> > capability of the sink.
> >
> > Signed-off-by: Animesh Manna <animesh.manna@intel.com>
> > ---
> >  include/drm/drm_dp_helper.h | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
> > index b52df4db3e8f..8a2b929c3f88 100644
> > --- a/include/drm/drm_dp_helper.h
> > +++ b/include/drm/drm_dp_helper.h
> > @@ -541,6 +541,9 @@ struct drm_panel;
> >  /* DFP Capability Extension */
> >  #define DP_DFP_CAPABILITY_EXTENSION_SUPPORT	0x0a3	/* 2.0 */
> >
> > +#define DP_PANEL_REPLAY_CAP                 0x0b0
> > +# define PANEL_REPLAY_SUPPORT               (1 << 0)
> 
> Missing bit 1, that is very important when panel do not support selective update
> panel replay needs to act like PSR1 when it is sets it needs to act like PSR2.
> 
> > +
> >  /* Link Configuration */
> >  #define	DP_LINK_BW_SET		            0x100
> >  # define DP_LINK_RATE_TABLE		    0x00    /* eDP 1.4 */
> > @@ -709,6 +712,9 @@ struct drm_panel;
> >  #define DP_BRANCH_DEVICE_CTRL		    0x1a1
> >  # define DP_BRANCH_DEVICE_IRQ_HPD	    (1 << 0)
> >
> > +#define PANEL_REPLAY_CONFIG                 0x1b0
> > +# define PANEL_REPLAY_ENABLE                (1 << 0)
> 
> All other bits are also important, for the errors ones we have PSR counter parts
> and your are missing the error status register.

Thanks for review.
Added the suggested changes in current version.
 
Regards,
Animesh
> 
> > +
> >  #define DP_PAYLOAD_ALLOCATE_SET		    0x1c0
> >  #define DP_PAYLOAD_ALLOCATE_START_TIME_SLOT 0x1c1  #define
> > DP_PAYLOAD_ALLOCATE_TIME_SLOT_COUNT 0x1c2


  reply	other threads:[~2022-01-04 15:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-10 12:10 [PATCH v3 0/5] Panel replay phase1 implementation Animesh Manna
2021-10-10 12:10 ` [PATCH v3 1/5] drm/i915/panelreplay: dpcd register definition for panelreplay Animesh Manna
2021-11-23 19:37   ` Souza, Jose
2022-01-04 15:51     ` Manna, Animesh [this message]
2021-10-10 12:10 ` [PATCH v3 2/5] drm/i915/panelreplay: HAS_PR() macro added for panel replay Animesh Manna
2021-10-10 12:10 ` [PATCH v3 3/5] drm/i915/panelreplay: Initializaton and compute config " Animesh Manna
2021-10-10 18:21   ` [Intel-gfx] " kernel test robot
2021-10-10 20:28   ` kernel test robot
2021-11-23 19:48   ` Souza, Jose
2022-01-04 15:51     ` Manna, Animesh
2022-01-04 15:55       ` Souza, Jose
2022-01-04 16:44         ` Manna, Animesh
2021-10-10 12:10 ` [PATCH v3 4/5] drm/i915/panelreplay: enable/disable " Animesh Manna
2021-10-10 12:10 ` [PATCH v3 5/5] drm/i915/panelreplay: Added state checker for panel replay state Animesh Manna

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=def0e0c3d24e4a83b8af55ef0c24f082@intel.com \
    --to=animesh.manna@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gwan-gyeong.mun@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jose.souza@intel.com \
    --cc=manasi.d.navare@intel.com \
    --cc=mika.kahola@intel.com \
    /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