[Intel-gfx] [PATCH i-g-t 2/2] tests/drv_hangman: watchdog tests

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 23 23:06:35 UTC 2017


On Thu, Feb 23, 2017 at 10:26:29PM +0000, Chris Wilson wrote:
> On Thu, Feb 23, 2017 at 11:44:21AM -0800, Michel Thierry wrote:
> > Test watchdog triggered resets.
> 
> How about setting a watchdog N with a dummy load set to expire in 2N
> (where 2N is less 1s to avoid hangcheck). Then check fence status to
> ensure watchdog kicked the batch.  See gem_exec_fence.

Or better yet, in gem_exec_watchdog set i915.enable_hangcheck=0

Hmm, which raises a good question is the user watchdog independent of
the hangcheck module_option. My vote is for yes, but that will require
a little rejigging.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list