drm_sched_select_entity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_sched_select_entity(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for drm_sched_select_entity β€” the function that selects the next entity to process. It’s giving tiny-but-iconic scheduler moment, and we’re covering every single deet, no cap ✨


🌸 NAME 🌸

drm_sched_select_entity β€” Select next entity to process πŸ’…

✨ SYNOPSIS ✨

struct drm_sched_entity * drm_sched_select_entity (struct
drm_gpu_scheduler *sched );

πŸŽ€ ARGUMENTS πŸŽ€

  • sched β€” scheduler instance 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It returns an entity to process, or NULL if none are found. That’s the whole deal, bestie.

note time: we break out of the for-loop when entity is non-null, which can also be an error-pointer β€” this is what assures we don’t process lower priority run-queues. See comments in the respectively called functions for the full tea πŸ’…

🌈 SEE ALSO 🌈

the whole related squad, fr fr:


🫢 okay that’s the whole drm_sched_select_entity(9) page, bestie! source/version: ./drivers/gpu/drm/scheduler Β· date: October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from