summaryrefslogtreecommitdiff
path: root/tests/debugfs_wedged
diff options
context:
space:
mode:
authorGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 15:14:28 -0800
committerGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 15:14:28 -0800
commit3c7b03f2f7b4ecfb18fb30f2e43b6321cb1aa4de (patch)
treebb8c57f401c0087a3ce4e96dc733abff854c3a43 /tests/debugfs_wedged
downloadintel-gpu-tools-accepted/tizen_common.tar.gz
intel-gpu-tools-accepted/tizen_common.tar.bz2
intel-gpu-tools-accepted/tizen_common.zip
Diffstat (limited to 'tests/debugfs_wedged')
-rwxr-xr-xtests/debugfs_wedged10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/debugfs_wedged b/tests/debugfs_wedged
new file mode 100755
index 00000000..80a32f61
--- /dev/null
+++ b/tests/debugfs_wedged
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
+. $SOURCE_DIR/drm_lib.sh
+
+# Testcase: wedge the hw to check the error_state reading
+#
+# Unfortunately wedged is permanent, so this test is not run by default
+echo 1 > ${i915_path}/i915_wedged
+cat $i915_path/i915_error_state > /dev/null 2>&1