On Wed, 2025-02-05 at 15:33 +, Tvrtko Ursulin wrote:
> Idea is to add helpers for peeking and poppling jobs from entities
s/poppling/popping
> with
> the goal of decoupling the hidden assumption in the code that
> queue_node
> is the first element in struct drm_sched_job.
>
> That assumption
Idea is to add helpers for peeking and poppling jobs from entities with
the goal of decoupling the hidden assumption in the code that queue_node
is the first element in struct drm_sched_job.
That assumption usually comes in the form of:
while ((job = to_drm_sched_job(spsc_queue_pop(&entity->job