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

Daniel Vetter daniel at ffwll.ch
Wed Apr 4 13:09:24 CEST 2012


On Wed, Apr 04, 2012 at 11:48:22AM +0100, Chris Wilson wrote:
> 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?

I've ditched this from the automated test list, fixed up the root
confusion (make test would already check for that), and fixed the bash
sourcing to also work when pwd != i-g-t/tests.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list