[igt-dev] [PATCH i-g-t] tests/gem_close_race: Wait for work to complete before terminating test
Antonio Argenziano
antonio.argenziano at intel.com
Wed Apr 11 22:29:05 UTC 2018
On 11/04/18 15:16, Chris Wilson wrote:
> 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>
Thanks, I'll resent with an updated commit message and push.
Antonio
>
> 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