* [PATCH] drm/i915: tune down the fast link training vs boot fail
@ 2016-12-13 19:54 Daniel Vetter
2016-12-13 19:56 ` Linus Torvalds
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Daniel Vetter @ 2016-12-13 19:54 UTC (permalink / raw)
To: Intel Graphics Development
Cc: Daniel Vetter, Linus Torvalds, stable, Daniel Vetter
It's been unfixed since a while and no one is immediately working on
this. And we have the FIXME already. And now also a task in the DP
team's backlog.
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
Hi Linus,
Feel free to apply directly in case it annoys too much and you don't
want to wait for your presents ;-)
Cheers, Daniel
---
drivers/gpu/drm/i915/intel_dp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index db75bb924e48..6e875d42642a 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp)
return;
/* FIXME: we need to synchronize this sort of stuff with hardware
- * readout */
- if (WARN_ON_ONCE(!intel_dp->lane_count))
+ * readout. Currently fast link training doesn't work on boot-up. */
+ if (!intel_dp->lane_count)
return;
/* if link training is requested we should perform it always */
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-13 19:54 [PATCH] drm/i915: tune down the fast link training vs boot fail Daniel Vetter @ 2016-12-13 19:56 ` Linus Torvalds 2016-12-13 20:22 ` ✓ Fi.CI.BAT: success for " Patchwork 2016-12-13 20:23 ` [PATCH] " Ville Syrjälä 2 siblings, 0 replies; 8+ messages in thread From: Linus Torvalds @ 2016-12-13 19:56 UTC (permalink / raw) To: Daniel Vetter; +Cc: Daniel Vetter, Intel Graphics Development, stable On Tue, Dec 13, 2016 at 11:54 AM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote: > > Feel free to apply directly in case it annoys too much and you don't > want to wait for your presents ;-) I'll wait for the proper unboxing of presents. Once I've rattled them and know what to expect, I can be very patient. Linus _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: tune down the fast link training vs boot fail 2016-12-13 19:54 [PATCH] drm/i915: tune down the fast link training vs boot fail Daniel Vetter 2016-12-13 19:56 ` Linus Torvalds @ 2016-12-13 20:22 ` Patchwork 2016-12-13 20:23 ` [PATCH] " Ville Syrjälä 2 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2016-12-13 20:22 UTC (permalink / raw) To: Daniel Vetter; +Cc: intel-gfx == Series Details == Series: drm/i915: tune down the fast link training vs boot fail URL : https://patchwork.freedesktop.org/series/16756/ State : success == Summary == Series 16756v1 drm/i915: tune down the fast link training vs boot fail https://patchwork.freedesktop.org/api/1.0/series/16756/revisions/1/mbox/ fi-bdw-5557u total:247 pass:233 dwarn:0 dfail:0 fail:0 skip:14 fi-bsw-n3050 total:247 pass:208 dwarn:0 dfail:0 fail:0 skip:39 fi-bxt-t5700 total:247 pass:220 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-j1900 total:247 pass:220 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-n2820 total:247 pass:216 dwarn:0 dfail:0 fail:0 skip:31 fi-hsw-4770 total:247 pass:228 dwarn:0 dfail:0 fail:0 skip:19 fi-hsw-4770r total:247 pass:228 dwarn:0 dfail:0 fail:0 skip:19 fi-ilk-650 total:247 pass:195 dwarn:0 dfail:0 fail:0 skip:52 fi-ivb-3520m total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-ivb-3770 total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-kbl-7500u total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-skl-6260u total:247 pass:234 dwarn:0 dfail:0 fail:0 skip:13 fi-skl-6700hq total:247 pass:227 dwarn:0 dfail:0 fail:0 skip:20 fi-skl-6700k total:247 pass:224 dwarn:3 dfail:0 fail:0 skip:20 fi-skl-6770hq total:247 pass:234 dwarn:0 dfail:0 fail:0 skip:13 fi-snb-2520m total:247 pass:216 dwarn:0 dfail:0 fail:0 skip:31 fi-snb-2600 total:247 pass:215 dwarn:0 dfail:0 fail:0 skip:32 57b72b4a6d7b787aedeb7b776ab35c3b2d7f58e9 drm-tip: 2016y-12m-13d-17h-59m-26s UTC integration manifest cc0f0ca drm/i915: tune down the fast link training vs boot fail == Logs == For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3280/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-13 19:54 [PATCH] drm/i915: tune down the fast link training vs boot fail Daniel Vetter 2016-12-13 19:56 ` Linus Torvalds 2016-12-13 20:22 ` ✓ Fi.CI.BAT: success for " Patchwork @ 2016-12-13 20:23 ` Ville Syrjälä 2016-12-13 22:37 ` Daniel Vetter 2 siblings, 1 reply; 8+ messages in thread From: Ville Syrjälä @ 2016-12-13 20:23 UTC (permalink / raw) To: Daniel Vetter Cc: Daniel Vetter, Intel Graphics Development, Linus Torvalds, stable On Tue, Dec 13, 2016 at 08:54:14PM +0100, Daniel Vetter wrote: > It's been unfixed since a while and no one is immediately working on > this. And we have the FIXME already. And now also a task in the DP > team's backlog. > > Cc: Linus Torvalds <torvalds@linux-foundation.org> > Cc: stable@vger.kernel.org > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> > --- > Hi Linus, > > Feel free to apply directly in case it annoys too much and you don't > want to wait for your presents ;-) > > Cheers, Daniel > --- > drivers/gpu/drm/i915/intel_dp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c > index db75bb924e48..6e875d42642a 100644 > --- a/drivers/gpu/drm/i915/intel_dp.c > +++ b/drivers/gpu/drm/i915/intel_dp.c > @@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) > return; > > /* FIXME: we need to synchronize this sort of stuff with hardware > - * readout */ > - if (WARN_ON_ONCE(!intel_dp->lane_count)) > + * readout. Currently fast link training doesn't work on boot-up. */ s/fast link training/link retraining/ is what I'd put there. I'm a bit sad to hide it but doesn't look like the proper solution is going to happen any time soon. Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > + if (!intel_dp->lane_count) > return; > > /* if link training is requested we should perform it always */ > -- > 2.11.0 -- Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-13 20:23 ` [PATCH] " Ville Syrjälä @ 2016-12-13 22:37 ` Daniel Vetter 2016-12-14 14:56 ` Jani Nikula 0 siblings, 1 reply; 8+ messages in thread From: Daniel Vetter @ 2016-12-13 22:37 UTC (permalink / raw) To: Ville Syrjälä Cc: Daniel Vetter, Intel Graphics Development, Linus Torvalds, stable, Daniel Vetter On Tue, Dec 13, 2016 at 10:23:05PM +0200, Ville Syrjälä wrote: > On Tue, Dec 13, 2016 at 08:54:14PM +0100, Daniel Vetter wrote: > > It's been unfixed since a while and no one is immediately working on > > this. And we have the FIXME already. And now also a task in the DP > > team's backlog. > > > > Cc: Linus Torvalds <torvalds@linux-foundation.org> > > Cc: stable@vger.kernel.org > > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > > References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html > > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> > > --- > > Hi Linus, > > > > Feel free to apply directly in case it annoys too much and you don't > > want to wait for your presents ;-) > > > > Cheers, Daniel > > --- > > drivers/gpu/drm/i915/intel_dp.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c > > index db75bb924e48..6e875d42642a 100644 > > --- a/drivers/gpu/drm/i915/intel_dp.c > > +++ b/drivers/gpu/drm/i915/intel_dp.c > > @@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) > > return; > > > > /* FIXME: we need to synchronize this sort of stuff with hardware > > - * readout */ > > - if (WARN_ON_ONCE(!intel_dp->lane_count)) > > + * readout. Currently fast link training doesn't work on boot-up. */ > > s/fast link training/link retraining/ is what I'd put there. Adjusted ... > > I'm a bit sad to hide it but doesn't look like the proper solution is > going to happen any time soon. > > Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> ... and merged since CI seems to approve too ;-) -Daniel > > > + if (!intel_dp->lane_count) > > return; > > > > /* if link training is requested we should perform it always */ > > -- > > 2.11.0 > > -- > Ville Syrjälä > Intel OTC -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-13 22:37 ` Daniel Vetter @ 2016-12-14 14:56 ` Jani Nikula 2016-12-15 7:48 ` Daniel Vetter 0 siblings, 1 reply; 8+ messages in thread From: Jani Nikula @ 2016-12-14 14:56 UTC (permalink / raw) To: Daniel Vetter, Ville Syrjälä Cc: Daniel Vetter, Intel Graphics Development, Linus Torvalds, stable, Daniel Vetter On Wed, 14 Dec 2016, Daniel Vetter <daniel@ffwll.ch> wrote: > On Tue, Dec 13, 2016 at 10:23:05PM +0200, Ville Syrjälä wrote: >> On Tue, Dec 13, 2016 at 08:54:14PM +0100, Daniel Vetter wrote: >> > It's been unfixed since a while and no one is immediately working on >> > this. And we have the FIXME already. And now also a task in the DP >> > team's backlog. >> > >> > Cc: Linus Torvalds <torvalds@linux-foundation.org> >> > Cc: stable@vger.kernel.org >> > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> >> > References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html >> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> >> > --- >> > Hi Linus, >> > >> > Feel free to apply directly in case it annoys too much and you don't >> > want to wait for your presents ;-) >> > >> > Cheers, Daniel >> > --- >> > drivers/gpu/drm/i915/intel_dp.c | 4 ++-- >> > 1 file changed, 2 insertions(+), 2 deletions(-) >> > >> > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c >> > index db75bb924e48..6e875d42642a 100644 >> > --- a/drivers/gpu/drm/i915/intel_dp.c >> > +++ b/drivers/gpu/drm/i915/intel_dp.c >> > @@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) >> > return; >> > >> > /* FIXME: we need to synchronize this sort of stuff with hardware >> > - * readout */ >> > - if (WARN_ON_ONCE(!intel_dp->lane_count)) >> > + * readout. Currently fast link training doesn't work on boot-up. */ >> >> s/fast link training/link retraining/ is what I'd put there. > > Adjusted ... >> >> I'm a bit sad to hide it but doesn't look like the proper solution is >> going to happen any time soon. >> >> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > > ... and merged since CI seems to approve too ;-) *sigh* you could've added debug logging at least. Now it's pretty much guaranteed nobody will look at this. It's not right to end up here without link params. :( BR, Jani. > -Daniel > >> > >> > + if (!intel_dp->lane_count) >> > return; >> > >> > /* if link training is requested we should perform it always */ >> > -- >> > 2.11.0 >> >> -- >> Ville Syrjälä >> Intel OTC -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-14 14:56 ` Jani Nikula @ 2016-12-15 7:48 ` Daniel Vetter 2016-12-15 9:10 ` Jani Nikula 0 siblings, 1 reply; 8+ messages in thread From: Daniel Vetter @ 2016-12-15 7:48 UTC (permalink / raw) To: Jani Nikula Cc: Daniel Vetter, Intel Graphics Development, stable, Daniel Vetter, Linus Torvalds On Wed, Dec 14, 2016 at 04:56:33PM +0200, Jani Nikula wrote: > On Wed, 14 Dec 2016, Daniel Vetter <daniel@ffwll.ch> wrote: > > On Tue, Dec 13, 2016 at 10:23:05PM +0200, Ville Syrjälä wrote: > >> On Tue, Dec 13, 2016 at 08:54:14PM +0100, Daniel Vetter wrote: > >> > It's been unfixed since a while and no one is immediately working on > >> > this. And we have the FIXME already. And now also a task in the DP > >> > team's backlog. > >> > > >> > Cc: Linus Torvalds <torvalds@linux-foundation.org> > >> > Cc: stable@vger.kernel.org > >> > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > >> > References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html > >> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> > >> > --- > >> > Hi Linus, > >> > > >> > Feel free to apply directly in case it annoys too much and you don't > >> > want to wait for your presents ;-) > >> > > >> > Cheers, Daniel > >> > --- > >> > drivers/gpu/drm/i915/intel_dp.c | 4 ++-- > >> > 1 file changed, 2 insertions(+), 2 deletions(-) > >> > > >> > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c > >> > index db75bb924e48..6e875d42642a 100644 > >> > --- a/drivers/gpu/drm/i915/intel_dp.c > >> > +++ b/drivers/gpu/drm/i915/intel_dp.c > >> > @@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) > >> > return; > >> > > >> > /* FIXME: we need to synchronize this sort of stuff with hardware > >> > - * readout */ > >> > - if (WARN_ON_ONCE(!intel_dp->lane_count)) > >> > + * readout. Currently fast link training doesn't work on boot-up. */ > >> > >> s/fast link training/link retraining/ is what I'd put there. > > > > Adjusted ... > >> > >> I'm a bit sad to hide it but doesn't look like the proper solution is > >> going to happen any time soon. > >> > >> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > > > > ... and merged since CI seems to approve too ;-) > > *sigh* you could've added debug logging at least. Now it's pretty much > guaranteed nobody will look at this. It's not right to end up here > without link params. :( I've made a JIRA internally to fix this and assigned it to Paul Parenteau for handling with his DP folks. But I'm happy to also r-b stamp a patch that adds some debug output here if you want that too. At least I thought the problem is fairly well-understood, so didn't think this was needed. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] drm/i915: tune down the fast link training vs boot fail 2016-12-15 7:48 ` Daniel Vetter @ 2016-12-15 9:10 ` Jani Nikula 0 siblings, 0 replies; 8+ messages in thread From: Jani Nikula @ 2016-12-15 9:10 UTC (permalink / raw) To: Daniel Vetter Cc: Daniel Vetter, Intel Graphics Development, stable, Daniel Vetter, Linus Torvalds On Thu, 15 Dec 2016, Daniel Vetter <daniel@ffwll.ch> wrote: > On Wed, Dec 14, 2016 at 04:56:33PM +0200, Jani Nikula wrote: >> On Wed, 14 Dec 2016, Daniel Vetter <daniel@ffwll.ch> wrote: >> > On Tue, Dec 13, 2016 at 10:23:05PM +0200, Ville Syrjälä wrote: >> >> On Tue, Dec 13, 2016 at 08:54:14PM +0100, Daniel Vetter wrote: >> >> > It's been unfixed since a while and no one is immediately working on >> >> > this. And we have the FIXME already. And now also a task in the DP >> >> > team's backlog. >> >> > >> >> > Cc: Linus Torvalds <torvalds@linux-foundation.org> >> >> > Cc: stable@vger.kernel.org >> >> > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> >> >> > References: https://lists.freedesktop.org/archives/intel-gfx/2016-July/101951.html >> >> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> >> >> > --- >> >> > Hi Linus, >> >> > >> >> > Feel free to apply directly in case it annoys too much and you don't >> >> > want to wait for your presents ;-) >> >> > >> >> > Cheers, Daniel >> >> > --- >> >> > drivers/gpu/drm/i915/intel_dp.c | 4 ++-- >> >> > 1 file changed, 2 insertions(+), 2 deletions(-) >> >> > >> >> > diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c >> >> > index db75bb924e48..6e875d42642a 100644 >> >> > --- a/drivers/gpu/drm/i915/intel_dp.c >> >> > +++ b/drivers/gpu/drm/i915/intel_dp.c >> >> > @@ -4014,8 +4014,8 @@ intel_dp_check_link_status(struct intel_dp *intel_dp) >> >> > return; >> >> > >> >> > /* FIXME: we need to synchronize this sort of stuff with hardware >> >> > - * readout */ >> >> > - if (WARN_ON_ONCE(!intel_dp->lane_count)) >> >> > + * readout. Currently fast link training doesn't work on boot-up. */ >> >> >> >> s/fast link training/link retraining/ is what I'd put there. >> > >> > Adjusted ... >> >> >> >> I'm a bit sad to hide it but doesn't look like the proper solution is >> >> going to happen any time soon. >> >> >> >> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com> >> > >> > ... and merged since CI seems to approve too ;-) >> >> *sigh* you could've added debug logging at least. Now it's pretty much >> guaranteed nobody will look at this. It's not right to end up here >> without link params. :( > > I've made a JIRA internally to fix this and assigned it to Paul Parenteau > for handling with his DP folks. But I'm happy to also r-b stamp a patch > that adds some debug output here if you want that too. At least I thought > the problem is fairly well-understood, so didn't think this was needed. Oh, okay. Then it's just that *I* didn't understand the problem well. :( BR, Jani. -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-12-15 9:10 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-13 19:54 [PATCH] drm/i915: tune down the fast link training vs boot fail Daniel Vetter 2016-12-13 19:56 ` Linus Torvalds 2016-12-13 20:22 ` ✓ Fi.CI.BAT: success for " Patchwork 2016-12-13 20:23 ` [PATCH] " Ville Syrjälä 2016-12-13 22:37 ` Daniel Vetter 2016-12-14 14:56 ` Jani Nikula 2016-12-15 7:48 ` Daniel Vetter 2016-12-15 9:10 ` Jani Nikula
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox