drm_sched_wqueue_start(9)
β¨ drm_sched_wqueue_start(9) β start scheduler submission β¨
Okay bestie, welcome to the drm_sched_wqueue_start page from the Kernel API Manual π this one is short and sweet and honestly kind of a glow-up moment for your scheduler, so let's get into it.
πΈ NAME πΈ
drm_sched_wqueue_start β start scheduler submission π
π¦ SYNOPSIS π¦
void drm_sched_wqueue_start (struct drm_gpu_scheduler *sched );
π ARGUMENTS π
schedβ the scheduler instance, aka the main character of this whole function π«Ά
π DESCRIPTION π
So here's the tea: this function restarts the scheduler after drm_sched_wqueue_stop has stopped it. That's it, that's the vibe β you stopped it, now you're bringing it back. Iconic behavior honestly πβ¨
But listen, and this is the important part: this function is not necessary for 'conventional' startup. Nope, not even a little. Because the scheduler is already fully operational after drm_sched_init succeeded. So if you're out here calling this during a normal init flow, bestieβ¦ you don't need to π it's giving extra.
Fr fr: only reach for this when you're un-stopping a scheduler thatdrm_sched_wqueue_stopput on pause. Conventional startup already ate withdrm_sched_init. π
π SEE ALSO π
Everything else in the scheduler cinematic universe, all linked up and thriving:
- Kernel file
./drivers/gpu/drm/scheduler/sched_main.cOverview(9) - Flow Control(9)
sched_policy(int)(9)drm_sched_can_queue(9)drm_sched_run_job_queue(9)drm_sched_run_free_queue(9)drm_sched_job_done(9)drm_sched_job_done_cb(9)drm_sched_start_timeout(9)drm_sched_tdr_queue_imm(9)drm_sched_fault(9)drm_sched_suspend_timeout(9)drm_sched_resume_timeout(9)drm_sched_job_reinsert_on_false_timeout(9)drm_sched_stop(9)drm_sched_start(9)drm_sched_resubmit_jobs(9)drm_sched_job_init(9)drm_sched_job_arm(9)drm_sched_job_add_dependency(9)drm_sched_job_add_syncobj_dependency(9)drm_sched_job_add_resv_dependencies(9)drm_sched_job_add_implicit_dependencies(9)drm_sched_job_has_dependency(9)drm_sched_job_cleanup(9)drm_sched_wakeup(9)drm_sched_select_entity(9)drm_sched_get_finished_job(9)drm_sched_pick_best(9)drm_sched_free_job_work(9)drm_sched_run_job_work(9)drm_sched_init(9)drm_sched_fini(9)drm_sched_increase_karma(9)drm_sched_wqueue_ready(9)drm_sched_wqueue_stop(9)drm_sched_is_stopped(9)drm_sched_job_is_signaled(9)
And that's the whole page, bestie β short, sweet, and to the point π This one lives in ./drivers/gpu/drm/scheduler, dated October 2026, and it's brought to you straight from the Kernel API Manual. Go forth and start that wqueue ππ§β¨
π¦ 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