ENUM DRM_GPU_SCHED_STAT(9)
π 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 existDRM_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:
DRM_SCHED_FENCE_DONT_PIPELINE(9)DRM_SCHED_FENCE_FLAG_HAS_DEADLINE_BIT(9)struct drm_sched_entity(9)struct drm_sched_rq(9)struct drm_sched_fence(9)struct drm_sched_job(9)struct drm_sched_backend_ops(9)struct drm_gpu_scheduler(9)struct drm_sched_init_args(9)struct drm_sched_pending_job_iter(9)drm_sched_for_each_pending_job(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms