Skip to contentSkip to conversation

drm/i915: info level for simulated gpu hang dmesg notice

PATCH In review Daniel Vetter 2 participants 2 messages Apr 6, 2013 – Apr 8, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: info level for simulated gpu hang dmesg notice

Otherwise running igt will fill your dmesg with hang notices and it's hard to judge from a quick look whether they're expected or not.

---
 drivers/gpu/drm/i915/i915_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_drv.c +1 -1
index a5b8aa9..3b4b9c0 100644
@@ -822,7 +822,7 @@ int intel_gpu_reset(struct drm_device *dev)
 
 	/* Also reset the gpu hangman. */
 	if (dev_priv->gpu_error.stop_rings) {
-		DRM_DEBUG("Simulated gpu hang, resetting stop_rings\n");
+		DRM_INFO("Simulated gpu hang, resetting stop_rings\n");
 		dev_priv->gpu_error.stop_rings = 0;
 		if (ret == -ENODEV) {
 			DRM_ERROR("Reset not implemented, but ignoring "
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 4 lines · Daniel Vetter

Otherwise running igt will fill your dmesg with hang notices and it's hard to judge from a quick look whether they're expected or not.

Is there not a mechanism for userspace to inject messages into the kernel message log? That would be far more useful... -Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre