Skip to contentSkip to conversation

drm/i915: Reinstate error level message for non-simulated gpu hangs

PATCH New Daniel Vetter 1 participant 1 message Oct 1, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm/i915: Reinstate error level message for non-simulated gpu hangs

This seems to have been accidentally lost in

commit be62acb4cce1389a28296852737e3917d9cc5b25

Author: Mika Kuoppala <[email protected]>
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.

Cc Mika Kuoppala <[email protected]>
Cc Chris Wilson <[email protected]>
Cc Kenneth Graunke <[email protected]>
---
 drivers/gpu/drm/i915/i915_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/i915_drv.c +2 -0
index ea93ff151a74..57c1f5608462 100644
@@ -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) {
Signature · 1 line
2.1.1