[Intel-gfx] [PATCH] drm/i915/preemption: Allow preemption between submission ports
Chris Wilson
chris at chris-wilson.co.uk
Fri Feb 23 16:41:56 UTC 2018
Quoting Mika Kuoppala (2018-02-23 15:18:17)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
>
> > Sometimes we need to boost the priority of an in-flight request, which
> > may lead to the situation where the second submission port then contains
> > a higher priority context than the first and so we need to inject a
> > preemption event. To do so we must always check inside
> > execlists_dequeue() whether there is a priority inversion between the
> > ports themselves as well as the head of the priority sorted queue, and we
> > cannot just skip dequeuing if the queue is empty.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Michał Winiarski <michal.winiarski at intel.com>
> > Cc: Michel Thierry <michel.thierry at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Reviewed-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Added detail to @queue_priority and pushed. Thanks for the review!
-Chris
More information about the Intel-gfx
mailing list