[igt-dev] [PATCH i-g-t 1/2] lib: Restore i915.reset before testing it in igt_allow_hang()

Andi Shyti andi.shyti at intel.com
Sun Oct 27 19:01:17 UTC 2019


Hi Chris,

On Sat, Oct 26, 2019 at 08:34:55PM +0100, Chris Wilson wrote:
> igt_allow_hang() checks that the GPU can be reset before allowing the
> test to cause a GPU hang (which would need the reset to recover).
> However, our checking for allowing a hang depends on i915.reset which we
> later restore. Do that restoration before the check so that this test is
> not affected by earlier fails.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Acked-by: Andi Shyti <andi.shyti at intel.com>

Andi


More information about the igt-dev mailing list