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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux