[Bug 89219] arb_uniform_buffer_object-bufferstorage fails now and then

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 12 05:25:49 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89219

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Tapani Pälli <lemody at gmail.com> ---
This was 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/20150312/ef552fca/attachment.html>


More information about the intel-3d-bugs mailing list