summaryrefslogtreecommitdiff
path: root/tests/debugfs_wedged
blob: 903a0a20060a09453c36729ec64754546313c120 (plain)
1
2
3
4
5
6
7
8
9
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_dfs_path}/i915_wedged
cat $i915_dfs_path/i915_error_state > /dev/null 2>&1