[Intel-gfx] [PATCH 3/6] drm/i915/execlists: Force single submission for sentinels
Chris Wilson
chris at chris-wilson.co.uk
Thu Mar 19 15:02:30 UTC 2020
Quoting Tvrtko Ursulin (2020-03-19 14:31:36)
>
> On 19/03/2020 09:19, Chris Wilson wrote:
> > + if (has_sentinel(last, rq))
> > goto done;
>
> I am only confused by can_merge_rq saying two sentinel requests can be
> merged together:
>
> if (unlikely((i915_request_flags(prev) ^ i915_request_flags(next)) &
> (BIT(I915_FENCE_FLAG_NOPREEMPT) |
> BIT(I915_FENCE_FLAG_SENTINEL))))
> return false;
>
> What am I missing?
I thought it was fine to coalesce consecutive sentinels within the
context into one.
Except you're thinking about gvt, and not my usage :|
-Chris
More information about the Intel-gfx
mailing list