From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757845AbdCUONG (ORCPT ); Tue, 21 Mar 2017 10:13:06 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:55744 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757145AbdCUONF (ORCPT ); Tue, 21 Mar 2017 10:13:05 -0400 Date: Tue, 21 Mar 2017 15:02:34 +0100 From: Pavel Machek To: Chris Wilson , kernel list , daniel.vetter@intel.com, jani.nikula@linux.intel.com, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [regression] Re: 4.11-rc0, thinkpad x220: GPU hang Message-ID: <20170321140234.GA23242@amd> References: <20170228143453.GA11914@amd> <20170228150222.GU10304@nuc-i3427.alporthouse.com> <20170305230150.GA15063@amd> <20170306111528.GR5997@nuc-i3427.alporthouse.com> <20170306121047.GB15063@amd> <20170306122341.GA3201@nuc-i3427.alporthouse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20170306122341.GA3201@nuc-i3427.alporthouse.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > > > mplayer stopped working after a while. Dmesg says: > > > > > >=20 > > > > > > [ 3000.266533] cdc_ether 2-1.2:1.0 usb0: register 'cdc_ether' at > > > >=20 > > > > Now I'm pretty sure it is a regression in v4.11-rc0. Any ideas what= to > > > > try? Bisect will be slow and nasty :-(. > > >=20 > > > I came the conclusion that #99671 is the ring HEAD overtaking the TAI= L, > > > and under the presumption that your bug matches (as the symptoms do): > > >=20 > > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/dr= m/i915/intel_ringbuffer.c > > > index 4ffa35faff49..62e31a7438ac 100644 > > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > > > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > > > @@ -782,10 +782,10 @@ static void i9xx_submit_request(struct drm_i915= _gem_request *request) > > > { > > > struct drm_i915_private *dev_priv =3D request->i915; > > > =20 > > > - i915_gem_request_submit(request); > > > - > > > GEM_BUG_ON(!IS_ALIGNED(request->tail, 8)); > > > I915_WRITE_TAIL(request->engine, request->tail); > > > + > > > + i915_gem_request_submit(request); > > > } > > > =20 > > > static void i9xx_emit_breadcrumb(struct drm_i915_gem_request *req, u= 32 *cs) > >=20 > > I applied it as: > >=20 > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/= i915/intel_ringbuffer.c > > index 91bc4ab..9c49c7a 100644 > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > > @@ -1338,9 +1338,9 @@ static void i9xx_submit_request(struct drm_i915_g= em_request *request) > > { > > struct drm_i915_private *dev_priv =3D request->i915; > > =20 > > - i915_gem_request_submit(request); > > - > > I915_WRITE_TAIL(request->engine, request->tail); > > + > > + i915_gem_request_submit(request); > > } > > =20 > > static void i9xx_emit_breadcrumb(struct drm_i915_gem_request *req, > >=20 > > Hmm. But your next mail suggest that it may not be smart to try to > > boot it? :-). >=20 > Don't bother, it'll promptly hang. Any news here? Is there something I can revert to get back to working system? Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAljRMnoACgkQMOfwapXb+vL8jACgumLOfk9nHS4YFq/EtqhxK+ec sVQAn2M9TvEBLtfNSCKTeVMx+R2KKlgT =BwcN -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [regression] Re: 4.11-rc0, thinkpad x220: GPU hang Date: Tue, 21 Mar 2017 15:02:34 +0100 Message-ID: <20170321140234.GA23242@amd> References: <20170228143453.GA11914@amd> <20170228150222.GU10304@nuc-i3427.alporthouse.com> <20170305230150.GA15063@amd> <20170306111528.GR5997@nuc-i3427.alporthouse.com> <20170306121047.GB15063@amd> <20170306122341.GA3201@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1345003287==" Return-path: In-Reply-To: <20170306122341.GA3201@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , kernel list , daniel.vetter@intel.com, jani.nikula@linux.intel.com, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1345003287== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > > > mplayer stopped working after a while. Dmesg says: > > > > > >=20 > > > > > > [ 3000.266533] cdc_ether 2-1.2:1.0 usb0: register 'cdc_ether' at > > > >=20 > > > > Now I'm pretty sure it is a regression in v4.11-rc0. Any ideas what= to > > > > try? Bisect will be slow and nasty :-(. > > >=20 > > > I came the conclusion that #99671 is the ring HEAD overtaking the TAI= L, > > > and under the presumption that your bug matches (as the symptoms do): > > >=20 > > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/dr= m/i915/intel_ringbuffer.c > > > index 4ffa35faff49..62e31a7438ac 100644 > > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > > > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > > > @@ -782,10 +782,10 @@ static void i9xx_submit_request(struct drm_i915= _gem_request *request) > > > { > > > struct drm_i915_private *dev_priv =3D request->i915; > > > =20 > > > - i915_gem_request_submit(request); > > > - > > > GEM_BUG_ON(!IS_ALIGNED(request->tail, 8)); > > > I915_WRITE_TAIL(request->engine, request->tail); > > > + > > > + i915_gem_request_submit(request); > > > } > > > =20 > > > static void i9xx_emit_breadcrumb(struct drm_i915_gem_request *req, u= 32 *cs) > >=20 > > I applied it as: > >=20 > > diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/= i915/intel_ringbuffer.c > > index 91bc4ab..9c49c7a 100644 > > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > > @@ -1338,9 +1338,9 @@ static void i9xx_submit_request(struct drm_i915_g= em_request *request) > > { > > struct drm_i915_private *dev_priv =3D request->i915; > > =20 > > - i915_gem_request_submit(request); > > - > > I915_WRITE_TAIL(request->engine, request->tail); > > + > > + i915_gem_request_submit(request); > > } > > =20 > > static void i9xx_emit_breadcrumb(struct drm_i915_gem_request *req, > >=20 > > Hmm. But your next mail suggest that it may not be smart to try to > > boot it? :-). >=20 > Don't bother, it'll promptly hang. Any news here? Is there something I can revert to get back to working system? Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAljRMnoACgkQMOfwapXb+vL8jACgumLOfk9nHS4YFq/EtqhxK+ec sVQAn2M9TvEBLtfNSCKTeVMx+R2KKlgT =BwcN -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- --===============1345003287== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============1345003287==--