[igt-dev] [PATCH i-g-t] prime_vgem: Replace nanosleep with igt_waitchildren_timeout

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 2 09:02:14 UTC 2019


Quoting Daniel Vetter (2019-04-02 09:56:59)
> On Mon, Apr 01, 2019 at 08:58:40AM +0100, Chris Wilson wrote:
> > We want to use a child in order to detect an uninterruptable sleep (a
> > potential bug we might hit), but we can use igt_waitchildren_timeout()
> > to replace our risky self-signaling + nanosleep.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103182
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> On a spree it seems ...

I didn't realised until too late they had more than on test case in the
bug.

> I guess same changes needed as for kms_busy to
> ditch the signal handler setup? On the presumed v2:

I didn't notice gcc complain this time... Found it, it is setup in
test_flip().
-Chris


More information about the igt-dev mailing list