[igt-dev] [PATCH i-g-t] tests/gem_close_race: Wait for work to complete before terminating test

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 11 22:16:46 UTC 2018


Quoting Antonio Argenziano (2018-04-11 23:08:01)
> 
> 
> On 11/04/18 14:52, Chris Wilson wrote:
> > Quoting Antonio Argenziano (2018-04-11 22:45:31)
> >> Make sure all outstanding work has completed before exiting the test.
> > 
> > Why? 10 more words to explain all...
> 
> When running a single subtest outstanding work might hang after the test 
> ends escaping detection by the hang_detector.

Cool, that's the reason I thought justified the patch.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

I was debating whether or not stop_hang_detector should do the
quiescing, but probably best to leave it flexible and up to the
caller.
-Chris


More information about the igt-dev mailing list