[Intel-gfx] [PATCH v2 08/11] drm/i915/execlists: Keep request->priority for its lifetime
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Thu Sep 28 12:59:25 UTC 2017
On Wed, 2017-09-27 at 17:44 +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>
There seems to be a whole lot of discussion around it, but this patch
itself does what it describes.
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
The loop can be optimized once it's working.
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list