[Intel-gfx] [PATCH 04/62] drm/i915/gt: Defer schedule_out until after the next dequeue
Matthew Auld
matthew.william.auld at gmail.com
Thu Dec 24 13:28:02 UTC 2020
On Wed, 23 Dec 2020 at 11:12, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Inside schedule_out, we do extra work upon idling the context, such as
> updating the runtime, kicking off retires, kicking virtual engines.
> However, if we are in a series of processing single requests per
> contexts, we may find ourselves scheduling out the context, only to
> immediately schedule it back in during dequeue. This is just extra work
> that we can avoid if we keep the context marked as inflight across the
> dequeue. This becomes more significant later on for minimising virtual
> engine misses.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list