[Intel-gfx] [RFC 2/4] drm/i915/scheduler: Make insert_request resubmission aware

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 28 19:41:28 UTC 2017


On Tue, Mar 28, 2017 at 08:00:27PM +0200, MichaƂ Winiarski wrote:
> Normally when we're inserting requests with equal priority, we're using
> FIFO ordering. However, when we're resubmitting requests it's helpful
> to be able to ensure that they're executed before their dependencies,
> meaning that we need to use LIFO ordering instead.

You shouldn't be requeueing before you've resubmitted its dependencies.
FIFO should still be holding. This doesn't make sense without seeing the
other side, and I suspect that other side isn't right :-p
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list