]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: debugfs interface to manually reset the GPU
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 13 Oct 2009 21:20:20 +0000 (22:20 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 5 Nov 2009 22:47:13 +0000 (14:47 -0800)
commitf3cd474bb235f2331c1a6f579bdbf892386e5c7c
tree2a9b7efaf46f5a4b42b1eecff53b16afca1df2a7
parentaed5f1dc264e2bc87e8656dd6945e4b1e72ebdbc
drm/i915: debugfs interface to manually reset the GPU

Create a /debug/dri/%d/i915_wedged file to display the current wedged
status, and to enable setting that value. On an i965, this will also
trigger a GPU reset.

Useful in order to attempt to recover from some error conditions that
are not currently caught by the automatic hang detection code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_debugfs.c