[Mesa-dev] [PATCH] i965: Actually use the user timeout in glClientWaitSync.
Eric Anholt
eric at anholt.net
Thu May 9 16:08:56 PDT 2013
Kenneth Graunke <kenneth at whitecape.org> writes:
> On 05/09/2013 02:16 PM, Eric Anholt wrote:
>> Kenneth Graunke <kenneth at whitecape.org> writes:
>>
>>> From: Ben Widawsky <ben at bwidawsk.net>
>>>
>>> Use the new libdrm functionality to actually do timed waits on the sync
>>> object.
>>
>> This was added at basically the same time as contexts, which we don't
>> rely on currently. It was in kernel 3.5, which is almost a year ago
>> now, and will have been a year ago by the time of the next Mesa release.
>>
>> I'm comfortable with requiring these two features at this point. Any
>> objection?
>
> This does not bump the kernel requirements AFAIK. If the kernel doesn't
> support the functionality, it simply falls back to an infinite wait
> which is exactly what we do in Mesa today.
Ah, clever libdrm! I'd forgotten about that.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130509/74fae684/attachment.pgp>
More information about the mesa-dev
mailing list