drm_sched_rq_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_sched_rq_init β€” initialize a given run queue struct

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for drm_sched_rq_init, and honestly? it's a short one, but it's lowkey important, so let's get into it 🫢


✨ SYNOPSIS ✨

void drm_sched_rq_init (struct drm_gpu_scheduler *sched , struct
       drm_sched_rq *rq );

that's it. that's the whole signature. no return value (it's void, she just does the thing and dips πŸ’…), two pointers in, zero drama out.


πŸŽ€ ARGUMENTS πŸŽ€

  • sched β€” the scheduler instance you're linking up with this run queue. like, this is the main character scheduler that's gonna own the vibe 🌈
  • rq β€” the scheduler run queue itself. this is the little queue struct getting set up πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this function initializes a scheduler runqueue πŸ”₯ that's the whole description, no cap. it's the setup step β€” you hand it a scheduler and a run queue, and it does the initialization for you so the run queue is ready to party πŸŽ‰

it's giving "small but essential" energy. not me being obsessed with a two-line function but here we are 😭


🌸 SEE ALSO 🌸

go read those next, iykyk πŸ’œ


and that's the page!! sign-off time: this one lives in ./drivers/gpu/drm/scheduler, dated October 2026, and it's filed under the Kernel API Manual β€” periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from