public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Reinstate error level message for non-simulated gpu hangs
@ 2014-09-30 23:04 Daniel Vetter
  2014-10-01  6:28 ` Chris Wilson
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Daniel Vetter @ 2014-09-30 23:04 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, Daniel Vetter, Mika Kuoppala

This seems to have been accidentally lost in

commit be62acb4cce1389a28296852737e3917d9cc5b25
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.

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>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>

--

Note, totally untested since it's a bit late here ;-)
-Daniel
---
 drivers/gpu/drm/i915/i915_drv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 6948877c881c..1870759a5ed8 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -842,6 +842,8 @@ int i915_reset(struct drm_device *dev)
 				 "error for simulated gpu hangs\n");
 			ret = 0;
 		}
+	} else {
+		DRM_ERROR("Reset chip after gpu hang\n");
 	}
 
 	if (ret) {
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 16+ messages in thread
[parent not found: <1412118259-4860-1-git-send-email-daniel.vetter@ffwll.c>]

end of thread, other threads:[~2014-10-01 14:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-30 23:04 [PATCH] drm/i915: Reinstate error level message for non-simulated gpu hangs Daniel Vetter
2014-10-01  6:28 ` Chris Wilson
2014-10-01  8:13   ` Daniel Vetter
2014-10-01  8:19     ` Chris Wilson
2014-10-01  8:29       ` Daniel Vetter
2014-10-01  8:52         ` Kenneth Graunke
2014-10-01  9:10           ` Chris Wilson
2014-10-01  9:28 ` Daniel Vetter
2014-10-01  9:37   ` Chris Wilson
2014-10-01  9:41     ` Daniel Vetter
2014-10-01  9:50       ` Chris Wilson
2014-10-01  9:32 ` Daniel Vetter
2014-10-01 12:03 ` Daniel Vetter
2014-10-01 13:54   ` Chris Wilson
2014-10-01 14:40   ` Mika Kuoppala
     [not found] <1412118259-4860-1-git-send-email-daniel.vetter@ffwll.c>
2014-10-01  9:15 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox