[Intel-gfx] [PATCH 1/3] drm/i915: Handle i915_active_fence_set() with the same fence

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 8 10:42:32 UTC 2019


Quoting Tvrtko Ursulin (2019-11-08 10:37:37)
> 
> On 06/11/2019 15:48, Chris Wilson wrote:
> > If the caller wants to overwrite the currently tracked fence, with
> > itself, as far as the tracking is concerned it is a no-op, so simply
> > allow it.
> 
> This is needed for some of the following patches in this series?

The implementation is relaxed in patch 3, which means we allow the user
to update the same i915_request.fence on the same timeline multiple times.
We already allow them to use the same fence multiple times, symmetry is
good?...
-Chris


More information about the Intel-gfx mailing list