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

2017-07-19 Thread Chris Wilson
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

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

2017-07-19 Thread Michał Winiarski
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

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

2017-07-17 Thread Chris Wilson
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: