[Intel-gfx] [PATCH 5/8] drm/i915/gt: Incorporate the virtual engine into timeslicing
Chris Wilson
chris at chris-wilson.co.uk
Mon May 18 08:07:32 UTC 2020
Quoting Chris Wilson (2020-05-18 08:57:47)
> @@ -5519,7 +5537,9 @@ static void virtual_submission_tasklet(unsigned long data)
> submit_engine:
> GEM_BUG_ON(RB_EMPTY_NODE(&node->rb));
> node->prio = prio;
> - if (first && prio > sibling->execlists.queue_priority_hint)
> + if (first &&
> + prio >= min(sibling->execlists.switch_priority_hint,
> + sibling->execlists.queue_priority_hint))
Ignore this chunk. The wakeup is just based on the queue_priority_hint.
If there is only one request on the engine, it will be INT_MIN. If there
are more than one at the same priority as the hint, it will be
timeslicing already.
-Chris
More information about the Intel-gfx
mailing list