mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
Used to check that i915_error_state works. Unfortunately this kills the gpu because wedging is permanent. Base on a patch by Ben Widawsky. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
11 lines
299 B
Bash
Executable File
11 lines
299 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_path}/i915_wedged
|
|
cat $i915_path/i915_error_state > /dev/null 2>&1
|