drm_sched_job_done_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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, the struct dma_fence * fence. that's it, that's the whole description.
  • cb β€” fence callbacks πŸ’« the struct 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 🌈

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