ENUM DRM_GPU_SCHED_STAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum drm_gpu_sched_stat(9)

okay so bestie, welcome to the Kernel API Manual page for enum drm_gpu_sched_stat(9) β€” yes the whole name, we're being formal today ✨ this is literally the scheduler's status enum and she's kind of a big deal in DRM land πŸŽ€


🌸 NAME 🌸

enum drm_gpu_sched_stat β€” the scheduler's status πŸ’« like, the vibe check for your GPU scheduler, fr fr


✨ SYNOPSIS ✨

enum drm_gpu_sched_stat {
    DRM_GPU_SCHED_STAT_NONE ,
    DRM_GPU_SCHED_STAT_RESET ,
    DRM_GPU_SCHED_STAT_ENODEV ,
    DRM_GPU_SCHED_STAT_NO_HANG

};

that's the whole lineup, four little constants, no cap 🫢


πŸ¦‹ Constants πŸ¦‹

so these are the members, and each one has lore:

  • DRM_GPU_SCHED_STAT_NONE β€” Reserved. Do not use. that's it, that's the message, she's reserved, hands off, periodt πŸ™ˆ
  • DRM_GPU_SCHED_STAT_RESET β€” the GPU hung and then successfully reset πŸ”₯ like it fainted and then came back slay πŸ’…
  • DRM_GPU_SCHED_STAT_ENODEV β€” Error: Device is not available anymore. yeah the device is gone gone 😭 not me checking for a device that literally does not exist
  • DRM_GPU_SCHED_STAT_NO_HANG β€” plot twist πŸ‘‘ contrary to the scheduler's assumption, the GPU did not hang and is still running. the scheduler assumed wrong and honestly? iconic πŸ’€

🌈 SEE ALSO 🌈

the kernel file lives at ./include/drm/gpu_scheduler.h β€” go look, iykyk 🧚

and the whole friend group:


bestie reminder: DRM_GPU_SCHED_STAT_NONE is reserved β€” do not use it. she said what she said πŸ’…

okay that's the whole page, mwah πŸ’– it came from ./include/drm, dated October 2026 ⭐ go forth and read your scheduler statuses, you're gonna do amazing πŸ“πŸ¦‹

πŸ“¦ where this page comes from