On 1/19/23 03:41, Dmitry Osipenko wrote:
> +             ret = drm_syncobj_find_fence(file, syncobj_desc.handle,
> +                                          syncobj_desc.point, 0, &in_fence);
> +             if (ret)
> +                     break;
> +
> +             if (!dma_fence_match_context(in_fence, fence_ctx + ring_idx))
> +                     ret = dma_fence_wait(in_fence, true);

I missed to add dma_fence_chain_contained(in_fence) here, otherwise the
match always fails for a chained fence.

-- 
Best regards,
Dmitry

Reply via email to