On Thu, May 31, 2012 at 12:35 AM, Eric Anholt eric@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