Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f86f191 authored by Ben Widawsky's avatar Ben Widawsky Committed by Daniel Vetter
Browse files

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: default avatarBen Widawsky <ben@bwidawsk.net>
Reviewed-by: default avatarCarl Worth <cworth@cworth.org>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
[danvet: split up long line.]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent a65e827d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1305,7 +1305,8 @@ static void i915_capture_error_state(struct drm_device *dev)
		return;
		return;
	}
	}


	DRM_INFO("capturing error event; look for more information in /debug/dri/%d/i915_error_state\n",
	DRM_INFO("capturing error event; look for more information in"
		 "/sys/kernel/debug/dri/%d/i915_error_state\n",
		 dev->primary->index);
		 dev->primary->index);


	kref_init(&error->ref);
	kref_init(&error->ref);