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