From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Reinstate error level message for non-simulated gpu hangs Date: Wed, 1 Oct 2014 10:13:00 +0200 Message-ID: <20141001081300.GJ12343@phenom.ffwll.local> References: <1412118259-4860-1-git-send-email-daniel.vetter@ffwll.ch> <20141001062839.GP19278@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by gabe.freedesktop.org (Postfix) with ESMTP id F2A746E19B for ; Wed, 1 Oct 2014 01:13:04 -0700 (PDT) Received: by mail-wi0-f178.google.com with SMTP id cc10so935392wib.5 for ; Wed, 01 Oct 2014 01:13:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20141001062839.GP19278@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 , Daniel Vetter , Intel Graphics Development , Mika Kuoppala , Kenneth Graunke , Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 01, 2014 at 07:28:39AM +0100, Chris Wilson wrote: > On Wed, Oct 01, 2014 at 01:04:19AM +0200, Daniel Vetter wrote: > > This seems to have been accidentally lost in > > > > commit be62acb4cce1389a28296852737e3917d9cc5b25 > > Author: Mika Kuoppala > > Date: Fri Aug 30 16:19:28 2013 +0300 > > > > drm/i915: ban badly behaving contexts > > > > Without this real gpu hangs only log output at info level, which gets > > filtered away by piglit's testrunner. > > A successful GPU hang is not an error. Might be a warn or a notice, but > it certainly isn't a driver error. Well not of the kernel driver, but might very well be a bug in the userspace driver. With this piglit marks tests that hung the gpu as dmesg-fail, without this they might even pass. Ken raised this on irc and I agree that it's a must-have feature for developers that their testsuite can tell them when stuff broke. Provding this some other way is a lot more work and imo should be done in a separate patch, this here is just the minimal fix for this regression. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch