From: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
To: Marc Herbert <Marc.Herbert@intel.com>,
intel-gfx@lists.freedesktop.org,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Subject: Re: [PATCH v3] drm/i915/dp: Give up link training clock recovery after 10 failed attempts
Date: Tue, 17 Jul 2018 15:21:17 -0700 [thread overview]
Message-ID: <1531866077.28553.20.camel@intel.com> (raw)
In-Reply-To: <0021f939-1871-5bde-8b46-a9a2ea293f0b@intel.com>
On Mon, 2018-07-16 at 16:51 -0700, Marc Herbert wrote:
> >
> > >
> > > I think the bug is with this infinite loop which is at the mercy
> > > of an external device
> > > and in my case I have this MST hub which appears to be DP 1.2
> > > that triggers the
> > > infinite loop case. We have to limit the number of iterations and
> > > DP 1.4 spec happened to fix this issue. I'm a newbie in this area
> > > but in this case
> > > shouldn't we apply the same counter to all <= "DP 1.4" devices?
> > ok, the infinite loop situation is really bad... but I don't
> > believe
> > we are going with the right fix...
> > and a good indication is that your fix is for DP-1.4 while your bug
> > is seeing on DP-1.2
> I thought the only reason the infinite loop fix isn't in 1.2 is just
> because there's
> no 1.2.1 spec... (plus the naive assumption that buggy sinks don't
> exist)
>
Irrespective of whether the sink is DP1.2 or 1.4, if there are sinks
out there that keep toggling between two values there should be an
overall limit to how many times this loop gets executed. Even if this
isn't right fix for the issue at hand, the loop has to break.
Then there's the question of what the limit should be. We could use the
DP1.4 limit as a reference and apply it widely. But there's a problem
here, we have 4 vswing values and 4 pre-emphasis values. If the sink
progressively changes one variable at a time, we'll need at least 16
iterations. Nathan's patch here will prematurely error out and that
doesn't sound reasonable to impose on non DP1.4 sinks.
-DK
>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-07-17 21:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-16 18:14 [PATCH v3] drm/i915/dp: Give up link training clock recovery after 10 failed attempts Nathan Ciobanu
2018-07-16 19:22 ` Marc Herbert
2018-07-16 22:30 ` Rodrigo Vivi
2018-07-16 23:27 ` Nathan Ciobanu
2018-07-16 23:39 ` Rodrigo Vivi
2018-07-16 22:34 ` Rodrigo Vivi
2018-07-16 23:23 ` Nathan Ciobanu
2018-07-16 23:40 ` Rodrigo Vivi
2018-07-16 23:51 ` Marc Herbert
2018-07-17 22:21 ` Dhinakaran Pandiyan [this message]
2018-07-18 1:05 ` Nathan Ciobanu
2018-07-18 3:00 ` Dhinakaran Pandiyan
2018-07-19 17:01 ` Rodrigo Vivi
2018-07-19 18:42 ` Nathan Ciobanu
2018-07-17 8:01 ` ✗ Fi.CI.BAT: failure for drm/i915/dp: Give up link training clock recovery after 10 failed attempts (rev3) Patchwork
2018-07-17 9:24 ` ✓ Fi.CI.IGT: success " 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=1531866077.28553.20.camel@intel.com \
--to=dhinakaran.pandiyan@intel.com \
--cc=Marc.Herbert@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=nathan.d.ciobanu@linux.intel.com \
--cc=rodrigo.vivi@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;
as well as URLs for NNTP newsgroup(s).