xe_sched_job_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_sched_job_destroy(9) ✨

okay so bestie, we're in the Kernel API Manual today πŸ’… and this one's a lil cleanup crew situation, no cap.


🌸 NAME 🌸

xe_sched_job_destroy β€” destroy an Xe schedule job 🧹✨


πŸŽ€ SYNOPSIS πŸŽ€

void xe_sched_job_destroy (struct kref *ref );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ref β€” a reference to the Xe schedule job. that's it, that's the whole vibe 🫢

πŸ’– DESCRIPTION πŸ’–

so literally, this gets called when ref == 0, right? and here's the checklist she runs thru, in order, main character energy only πŸ‘‘

  1. drop a reference to the job's xe_engine + fence πŸ“
  2. cleanup the base DRM schedule job 🧚
  3. free the memory for the Xe schedule job πŸ’€βœ¨

like, she's the last one out, turning off the lights, closing the group chat. iconic behavior fr fr.

ngl this is the destroy path β€” she only shows up once the refcount has fully hit 0, so don't go calling her early bestie 😭

πŸ”₯ SEE ALSO πŸ”₯


🌈 that's the whole page bestie, go forth and refcount responsibly πŸ’œ

sign-off szn πŸŽ€ β€” this lil masterpiece lives in ./drivers/gpu/drm/xe, dated October 2026, and yes she ate πŸ’…βœ¨

πŸ“¦ where this page comes from