Ville Syrjälä | 51b7590 | 2016-10-06 16:09:45 +0300 | [diff] [blame] | 1 | #!/bin/bash |
Ben Widawsky | af275bd | 2012-04-03 23:02:59 -0700 | [diff] [blame] | 2 | |
3 | SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )" | ||||
4 | . $SOURCE_DIR/drm_lib.sh | ||||
5 | |||||
6 | # Testcase: wedge the hw to check the error_state reading | ||||
7 | # | ||||
8 | # Unfortunately wedged is permanent, so this test is not run by default | ||||
Mika Kuoppala | 3743a0b | 2013-06-27 16:54:42 +0300 | [diff] [blame] | 9 | echo 1 > ${i915_dfs_path}/i915_wedged |
10 | cat $i915_dfs_path/i915_error_state > /dev/null 2>&1 |