drm_sched_rq_init(9)
π 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 πΈ
- the kernel file herself:
./drivers/gpu/drm/scheduler/sched_rq.cπ drm_sched_rq_add_entity(9)β the adding-entities sibling π«Άdrm_sched_rq_remove_entity(9)β the removing-entities sibling π§drm_sched_rq_pop_entity(9)β the popping-entities sibling πdrm_sched_rq_select_entity(9)β the selecting-entities sibling π
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms