[Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

Daniel Vetter daniel at ffwll.ch
Wed May 30 12:07:57 PDT 2012


On Wed, May 30, 2012 at 7:41 PM, Eric Anholt <eric at anholt.net> wrote:
> I guess GL_ALREADY_SIGNALED handling will be done using a check for
> bo_busy() before calling this.

I've just read through the mesa code and gl_already_signalled seems to
be handled already by core mesa code in _mesa_ClientWaitSync (if the
driver sets syncObject->Status correctly). So I guess the current
kernel code should work as-is and only the libdrm interface needs some
colour adjustments around the timeout parameter.
-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