From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Jackson Subject: Re: [PATCH] xf86drm.c: add counter for ioctl restarting Date: Mon, 16 Apr 2012 10:12:39 -0400 Message-ID: <1334585559.17648.4.camel@atropine> References: <20120413172642.4c423352@boyarsh.office.altlinux.ru> <20120413134216.GG4525@phenom.ffwll.local> <20120416125435.6a94f9f9@boyarsh.office.altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1655705825==" Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id 19BAE9E79C for ; Mon, 16 Apr 2012 07:12:48 -0700 (PDT) In-Reply-To: <20120416125435.6a94f9f9@boyarsh.office.altlinux.ru> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: "Anton V. Boyarshinov" Cc: DRI mailing list List-Id: dri-devel@lists.freedesktop.org --===============1655705825== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hDdBPsdlVBaPeawnR/MO" --=-hDdBPsdlVBaPeawnR/MO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2012-04-16 at 12:54 +0400, Anton V. Boyarshinov wrote: > Hi > =20 > > Obviously if we have a dead gpu, we need to break out of this loop. But > > detecting a dead gpu (and returning an appropriate error like EIO) is t= he > > kernel's job. > In my case gpu isn't really dead. It works after some ioctl skip. I > understend that it is a driver bug in any case, but i thing that working > around this bugs with proper logging (absent in this patch) much better > than lockup. But your workaround isn't harmless. It adds new failure modes for other cases that currently work. That's worse, not better. - ajax --=-hDdBPsdlVBaPeawnR/MO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk+MKNgACgkQW4otUKDs0NMfdACgvko9vF8ll2OlfSHq//WGBnRU 0mgAoN4A1sMHaN0KneszalmtLqJtg0ci =TWRw -----END PGP SIGNATURE----- --=-hDdBPsdlVBaPeawnR/MO-- --===============1655705825== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1655705825==--