[Intel-gfx] [PATCH 2/2] tests: wedged + error_state read test

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 4 12:48:22 CEST 2012


On Tue,  3 Apr 2012 23:02:59 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> +[[ `echo 1 | sudo tee ${i915_path}/i915_wedged` ]] || die "Couldn't write to ${i915_path}/i915_wedged"
echo 1 | sudo tee $(i915_path)/i915_wedged || die ...
> +cat $i915_path/i915_error_state > /dev/null 2>&1
cat $(i915_path)/i915_error_state > /dev/null 2>&1 || die ...

Can we check for gen >= 6 before killing the GPU in an automated test?
Or do we recommend reseting the GPU if i915_wedged remains set?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list