[Bug 88344] glClientWaitSync(..., GL_TIMEOUT_IGNORED) fails to wait for sync.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 12 23:17:09 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88344
--- Comment #2 from Tapani Pälli <lemody at gmail.com> ---
please try again, should have been fixed by:
-----------------------------------------------
commit 10c82c6c5fc415d323a5e9c6acdc6a4c85d6b712
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Mon Mar 2 16:19:52 2015 -0800
i965: Fix uint64_t overflow in intel_client_wait_sync()
DRM_IOCTL_I915_GEM_WAIT takes an int64_t for the timeout value but
GL_ARB_sync takes an uint64_t. Further, the ioctl used to wait
indefinitely when passed a negative timeout, but it's been broken and
now returns immediately in that case. Thus, if an application passes
UINT64_MAX to wait forever, we overflow to -1LL and return immediately.
Work around this mess by clamping the wait timeout to INT64_MAX.
Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Chad Versace <chad.versace at intel.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150313/72d95274/attachment.html>
More information about the intel-3d-bugs
mailing list