drm_sched_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_sched_start(9) ✨

okay so this is a page from the Kernel API Manual, and it's about drm_sched_start β€” the lil glow-up routine your GPU scheduler runs after a reset πŸ’…


🌸 NAME 🌸

drm_sched_start β€” recover jobs after a reset 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void drm_sched_start (struct drm_gpu_scheduler *sched , int errno );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • sched β€” the scheduler instance, bestie. like, which scheduler are we reviving ✨
  • errno β€” the error to set on the pending fences. yeah, you gotta tell 'em what went wrong 😭

πŸ’– DESCRIPTION πŸ’–

So here's the tea β˜•: this function is typically used for reset recovery β€” peep the docu of drm_sched_backend_ops.timedout_job for the full details, iykyk.

🚨 Do NOT call it for scheduler startup. Not the vibe. The scheduler is already fully operational after drm_sched_init succeeded β€” it does not need you to come in and start it like that. periodt.

And because it's only</> for reset recovery, drivers must not call this function in their struct drm_sched_backend_ops.timedout_job callback when they skip a reset using enum drm_gpu_sched_stat.DRM_GPU_SCHED_STAT_NO_HANG. like, if you're skipping the reset, you're skipping the whole thing β€” no sneaky drm_sched_start on the way out πŸ™ˆ


🌈 SEE ALSO 🌈

the whole friend group, fr fr πŸ‘‘


and that's the whole page, bestie πŸ“ this one lives at ./drivers/gpu/drm/scheduler, dated October 2026 β€” mwah, go recover some jobs πŸ’œπŸ§š

πŸ“¦ where this page comes from