blob: f15ac4614845f90ab6f453339f313945d02849f7 [file] [log] [blame]
#!/bin/bash
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