ntel-gpu-tools/tests/debugfs_wedged
Mika Kuoppala 3743a0b994 tests: rename debugfs base path to be more specific
In preparation to have sysfs entries used in scripts
rename to more specific name.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-07-01 18:54:40 +02:00

11 lines
307 B
Bash
Executable File

#!/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