[PATCH 09/10] dri3: Add dri3 extension framework

Chris Wilson chris at chris-wilson.co.uk
Fri May 9 05:22:32 PDT 2014


On Thu, Oct 31, 2013 at 03:43:41PM -0700, Keith Packard wrote:
> +static void
> +miSyncShmFenceSetTriggered(SyncFence * pFence)
> +{
> +    SyncShmFencePrivatePtr      pPriv = SYNC_FENCE_PRIV(pFence);
> +
> +    if (pPriv->fence)
> +        xshmfence_trigger(pPriv->fence);
> +    miSyncFenceSetTriggered(pFence);

This is racy as the clients are woken up before the server has had a
chance to do the required work.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list