public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Shankar, Uma" <uma.shankar@intel.com>
To: "Murthy, Arun R" <arun.r.murthy@intel.com>,
	"Nikula, Jani" <jani.nikula@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Cc: "tprevite@gmail.com" <tprevite@gmail.com>,
	"Zanoni, Paulo R" <paulo.r.zanoni@intel.com>
Subject: Re: [Intel-gfx] [PATCHv3] drm/i915/dp: wait on timeout before retry
Date: Mon, 4 Jul 2022 06:31:33 +0000	[thread overview]
Message-ID: <72638a4cf3c6434b810702337e29eb37@intel.com> (raw)
In-Reply-To: <DM6PR11MB3177F52AE19DA65003E1D8FFBABE9@DM6PR11MB3177.namprd11.prod.outlook.com>



> -----Original Message-----
> From: Murthy, Arun R <arun.r.murthy@intel.com>
> Sent: Monday, July 4, 2022 11:07 AM
> To: Shankar, Uma <uma.shankar@intel.com>; Nikula, Jani <jani.nikula@intel.com>;
> intel-gfx@lists.freedesktop.org
> Cc: ville.syrjala@linux.intel.com; Zanoni, Paulo R <paulo.r.zanoni@intel.com>;
> tprevite@gmail.com
> Subject: RE: [PATCHv3] drm/i915/dp: wait on timeout before retry
> 
> > > -----Original Message-----
> > > From: Nikula, Jani <jani.nikula@intel.com>
> > > Sent: Friday, July 1, 2022 4:45 PM
> > > To: Murthy, Arun R <arun.r.murthy@intel.com>;
> > > intel-gfx@lists.freedesktop.org
> > > Cc: ville.syrjala@linux.intel.com; Zanoni, Paulo R
> > > <paulo.r.zanoni@intel.com>; tprevite@gmail.com; Shankar, Uma
> > > <uma.shankar@intel.com>; Murthy, Arun R <arun.r.murthy@intel.com>
> > > Subject: Re: [PATCHv3] drm/i915/dp: wait on timeout before retry
> > >
> > > On Fri, 01 Jul 2022, Arun R Murthy <arun.r.murthy@intel.com> wrote:
> > > > On linktraining error/timeout before retry need to wait for
> > > > 400usec as per the DP CTS spec1.2
> > > >
> > > > The patch with commit 74ebf294a1dd ("drm/i915: Add a delay in
> > > > Displayport AUX transactions for compliance testing") removes this
> > > > delay mentioning the hardware already meets this requirement, but
> > > > as per the spec the delay mentioned in the spec specifies how long
> > > > to wait for the receiver response before timeout. So the delay
> > > > here to wait for timeout and not a delay after timeout. The DP
> > > > spec specifies a delay after timeout and hence adding this delay.
> >
> > The source side as per bspec says how much time to wait for sink
> > response before calling timeout:
> > Reg: DDI_AUX_CTL, BitField: 27:26
> > Name: Time out timer value
> > Description:
> > ValueName
> > 00b400us (default)
> > 01b600us
> > 10b800us
> > 11b4000us
> >
> > So this should meet the CTS requirement. For any non-timeout error
> > from sink, s/w should add explicit delay of minimum 400us before retry
> > (which is being done)
> >
> > If 400us is not enough this needs to be checked separately or the
> > timeout value in this register can be changed from default of 400us
> >
> The delay specified in the register is the time to wait for triggering the timeout. This
> is being achieved in the register mentioned above.
> 
> But what the CTS spec says is once the timeout has occurred, before retrying again
> we need to wait for 400ms. This is the delay that this patch has added.

Thanks Arun for clarification. Seems there is some confusion with the hardware wait
and this retry wait. I would suggest to add the CTS spec details clarifying this wait and
we should be good.

> 
> Thanks and Regards,
> Arun R Murthy
> --------------------


  reply	other threads:[~2022-07-04 16:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27 10:59 [Intel-gfx] [PATCH] drm/i915/dp: wait on timeout before retry Arun R Murthy
2022-06-28  2:01 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2022-06-28  2:21 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-06-28 15:49 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-07-01 10:11 ` [Intel-gfx] [PATCH] " Jani Nikula
2022-07-01 10:24   ` Murthy, Arun R
2022-07-01 10:48 ` [Intel-gfx] [PATCHv2] " Arun R Murthy
2022-07-01 10:54   ` Jani Nikula
2022-07-01 11:03 ` [Intel-gfx] [PATCHv3] " Arun R Murthy
2022-07-01 11:14   ` Jani Nikula
2022-07-04  5:24     ` Shankar, Uma
2022-07-04  5:37       ` Murthy, Arun R
2022-07-04  6:31         ` Shankar, Uma [this message]
2022-07-01 11:35 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/dp: wait on timeout before retry (rev2) Patchwork
2022-07-01 12:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dp: wait on timeout before retry (rev3) Patchwork
2022-07-02  4:11 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-07-04  7:23 ` [Intel-gfx] [PATCH] drm/i915/dp: wait on timeout before retry Arun R Murthy
2022-07-04 12:27   ` Shankar, Uma
2022-07-04 14:11   ` Ville Syrjälä
2022-07-04 16:01     ` Murthy, Arun R
2022-07-26 17:04       ` Imre Deak
2022-07-18 11:18     ` Murthy, Arun R
2022-07-19  8:12       ` Shankar, Uma
2022-07-04 18:54 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dp: wait on timeout before retry (rev4) Patchwork
2022-07-04 22:49 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=72638a4cf3c6434b810702337e29eb37@intel.com \
    --to=uma.shankar@intel.com \
    --cc=arun.r.murthy@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=paulo.r.zanoni@intel.com \
    --cc=tprevite@gmail.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