Hi Thomas, I think there is bug in refcounting for fence manager: atomic_inc(&fm->count) is called in drm_fence_object_create then drm_fence_object_create call drm_fence_object_emit only if DRM_FENCE_FLAG_EMIT things is that the fence is added to the ring in drm_fence_object_emit.
Note that atomic_dec(&fm->count) is only called after unring on a fence. So i think we should do atomic_inc in drm_fence_object_emit and not in drm_fence_object_create. Is their somethings i miss ? Cheers, Jerome Glisse <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel