aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2013-01-28 18:32:15 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-31 05:50:04 -0500
commit2f86f1916504525a6fdd6b412374b4ebf1102cbe (patch)
tree3d725e50b7b0a102b714b9e1b271b6a74a2d6cd5
parenta65e827dd57b2fd48a698209dd7701eb13e72095 (diff)
drm/i915: Error state should print /sys/kernel/debug
/sys/kernel/debug has more or less been the standard location of debugfs for several years now. Other parts of DRM already use this location, so we should as well. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Carl Worth <cworth@cworth.org> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> [danvet: split up long line.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 943db1001cfd..5648d846cdbf 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1305,7 +1305,8 @@ static void i915_capture_error_state(struct drm_device *dev)
1305 return; 1305 return;
1306 } 1306 }
1307 1307
1308 DRM_INFO("capturing error event; look for more information in /debug/dri/%d/i915_error_state\n", 1308 DRM_INFO("capturing error event; look for more information in"
1309 "/sys/kernel/debug/dri/%d/i915_error_state\n",
1309 dev->primary->index); 1310 dev->primary->index);
1310 1311
1311 kref_init(&error->ref); 1312 kref_init(&error->ref);