drm_sched_job_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_sched_job_done(9) β€” Kernel API Manual πŸŽ€

okay so bestie, we're in the Kernel API Manual today and the star of the show is drm_sched_job_done(9). pull up a chair, this one's short but it matters ✨


🌸 NAME 🌸

drm_sched_job_done β€” complete a job. that's it. that's the whole vibe. the job is done, we're wrapping it up, slay πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void drm_sched_job_done (struct drm_sched_job *s_job , int result );

literally just hand it the job and tell it how it went, no cap 🫢


✨ ARGUMENTS ✨

  • s_job β€” pointer to the job which is done. yes, that job. the one that just finished. give it a little pat on the head πŸŽ€
  • result β€” 0 on success, -ERRNO on error. so if things went great it's a big fat zero, and if they didn't, you're passing along a negative errno and being emo about it 😭

πŸ’œ DESCRIPTION πŸ’œ

Finish the job's fence and resubmit the work items. that's the whole thing, bestie β€” it ties off the fence (so everyone waiting on it finally gets the signal, iconic behavior) and then re-submits the work items so the scheduler keeps rolling. main character energy for a two-line function, honestly πŸ‘‘


πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr β€” if you liked this one you're gonna be obsessed with the rest 🌈


okay that's the whole page, you ate that πŸ’– this little drop lives under ./drivers/gpu/drm/scheduler, dated October 2026, and it's drm_sched_job_done(9) β€” go forth and complete those jobs, bestie, periodt πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from