[Intel-gfx] [PATCH] tests/gem_eio: Resilience against "hanging too fast"

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 26 02:05:15 PST 2015


On Thu, Nov 26, 2015 at 09:34:01AM +0100, Daniel Vetter wrote:
> On Wed, Nov 25, 2015 at 04:28:02PM +0000, Chris Wilson wrote:
> > On Wed, Nov 25, 2015 at 05:19:24PM +0100, Daniel Vetter wrote:
> > > Since $debugfs/i915_wedged restores a wedged gpu by using a normal gpu
> > > hang we need to be careful to not run into the "hanging too fast
> > > check":
> > 
> > That's not how it works. It restores the GPU by triggering a manual
> > reset.
> 
> Maybe in your tree, but here it goes through the full hang recovery.

Right.

> And
> the gem_eio default context _does_ get banned without this.

Wrong.

> Maybe it's a
> bug in the ban logic, but it didn't look like that.

Indeed, that is not where the *kernel* bug is.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list