]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reinstate error level message for non-simulated gpu hangs
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Sep 2014 23:02:04 +0000 (01:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 1 Oct 2014 13:55:29 +0000 (15:55 +0200)
commit20723cd50ea85a527a1693833e45ec4785780d12
treeac71bcaee2e1454e153d4f8fab1063c74a379e22
parentbea3fe17e04f3dbb8f719abb90eeb2d90bb08723
drm/i915: Reinstate error level message for non-simulated gpu hangs

This seems to have been accidentally lost in

commit d09a4b656a1b9e7b0e6cbf15f0e87a8fbeda11ae
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
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.

v2: Tune down to notice level. Note that we need to add drm/i915 so
that at least the automatic igt dmesg filtering still picks it up.

v3: git add and lack of coffee don't mix well.

v4: Message is in between hw and sw reset, so switch verb to
continuous form.

v5: Use i915_stop_rings_allow_warn for consistency. For Chris' case of
injecting lots of hangs I guess we need to revamp this all anyway when
merging. For now this should plug the regression for piglit testing
mesa.

v6: Make it compile (Mika).

Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reported-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_drv.c