Re: [PATCH 5/8] drm/i915/gt: Incorporate the virtual engine into timeslicing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux