[Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function
Daniel Vetter
daniel at ffwll.ch
Thu May 31 00:05:18 PDT 2012
On Thu, May 31, 2012 at 12:35 AM, Eric Anholt <eric at anholt.net> wrote:
>
> Did you want pointer for timeout in the userspace api? I don't feel
> strongly about it, I just didn't see a use. The equivalent API I could
> think of was select(), where apparently linux returns time unwaited,
> while "everyone else" doesn't. I don't see a strong recommendation
> either way from that.
I wanted the kernel to return the unwaited time (or at least a upper
bound to it, with coarse clocks that's the best we can do) so that
ioctl restarting after a signal does the right thing. Exposing that
any further than libdrm doesn't make much sense imo.
-Daniel
--
Daniel Vetter
daniel.vetter at ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
More information about the mesa-dev
mailing list