drm_sched_job_done_cb(9)
β¨ drm_sched_job_done_cb β¨
okay bestie, welcome to the Kernel API Manual π this one's a tiny little kernel page β like, one function, two arguments, and then a SEE ALSO list that absolutely ate and left no crumbs π
π NAME π
drm_sched_job_done_cb β literally the callback for a done job π
π¦ SYNOPSIS π¦
void drm_sched_job_done_cb (struct dma_fence *f , struct dma_fence_cb
*cb );
no cap, that's the whole signature. it returns void, so don't go looking for a return value, there isn't one, periodt β¨
πΈ ARGUMENTS πΈ
fβ fence π§ like, thestruct dma_fence *fence. that's it, that's the whole description.cbβ fence callbacks π« thestruct dma_fence_cb *, i.e. the callback struct.
ngl the original page is extremely chill about describing these two. it just says "fence" and "fence callbacks" and dips π so i'm not gonna sit here and invent lore that isn't in the doc β iykyk π«Ά
π₯ SEE ALSO π₯
okay this is the main character section fr fr. the kernel file is ./drivers/gpu/drm/scheduler/sched_main.c β go read it, it's giving source of truth π
Overview(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_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_wqueue_start(9)drm_sched_is_stopped(9)drm_sched_job_is_signaled(9)
likeβ¦ that's a lot of friends, and every single one of them is on the list, i did not skip a single one, you're welcome π
π the cute sign-off π
this page lives in ./drivers/gpu/drm/scheduler, it's dated October 2026, and yes the header/footer kept saying drm_sched_job_done_cb(9) the whole time because that's the name, slay. anyway go call your callback when the job is done bestie, ily, bye π«Άπβ
π¦ 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