[Intel-gfx] [RFC 2/4] drm/i915/execlists: Keep request->priority for its lifetime

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 19 14:33:51 UTC 2017


Quoting Michał Winiarski (2017-07-19 15:25:51)
> On Mon, Jul 17, 2017 at 09:42:33AM +0100, Chris Wilson wrote:
> > With preemption, we will want to "unsubmit" a request, taking it back
> > from the hw and returning it to the priority sorted execution list. In
> > order to know where to insert it into that list, we need to remember
> > its adjust priority (which may change even as it was being executed).
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Michal Winiarski <michal.winiarski at intel.com>
> 
> We should also change GuC dequeue/irq_handler.

I wasn't sure if that was necessary as the current shortcut of sealing
the priority once submitted applies to guc dequeue as it currently
doesn't unsubmit. (Wasn't much point in penalising the guc until it was
ready.)
-Chris


More information about the Intel-gfx mailing list