ENUM PANTHOR_GROUP_STATE(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

Hey bestie! Welcome to enum panthor_group_state(9) โ€” the Kernel API Manual page for the scheduling group state enum, and she is iconic. ๐Ÿ’… This is the enum that tracks a scheduling groupโ€™s state, and every single state is listed below. No skips. No cap. ๐Ÿซถ

๐ŸŒธ NAME ๐ŸŒธ

enum panthor_group_state โ€” Scheduling group state. Thatโ€™s the whole vibe, periodt. โœจ

โœจ SYNOPSIS โœจ

Okay so the synopsis is literally this enum, bestie. Exact energy, no edits:

enum panthor_group_state {
    PANTHOR_CS_GROUP_CREATED ,
    PANTHOR_CS_GROUP_ACTIVE ,
    PANTHOR_CS_GROUP_SUSPENDED ,
    PANTHOR_CS_GROUP_TERMINATED ,
    PANTHOR_CS_GROUP_UNKNOWN_STATE

};

Thatโ€™s the whole shape. The constants themselves are down below, and yes, there are five. ๐ŸŽ€

๐ŸŽ€ Constants ๐ŸŽ€

Hereโ€™s the vibe check for each constant, all five, right in order:

  • PANTHOR_CS_GROUP_CREATED โ€” Group was created, but not scheduled yet. She exists, sheโ€™s just not on the schedule. ๐Ÿ’–
  • PANTHOR_CS_GROUP_ACTIVE โ€” Group is currently scheduled. Main character energy: sheโ€™s on the schedule right now. ๐Ÿ”ฅ
  • PANTHOR_CS_GROUP_SUSPENDED โ€” Group was scheduled at least once, but is inactive/suspended right now. Been there, done that, currently chilling. ๐Ÿ˜ด
  • PANTHOR_CS_GROUP_TERMINATED โ€” Group was terminated. Can no longer be scheduled. The only allowed action is a destruction. Itโ€™s giving final-boss exit. ๐Ÿ’€
  • PANTHOR_CS_GROUP_UNKNOWN_STATE โ€” Group is an unknown state. The FW returned an inconsistent state. The group is flagged unusable and can no longer be scheduled. The only allowed action is a destruction.

When that happens, we also schedule a FW reset, to start from a fresh state. ๐Ÿšจ

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

Kernel file ./drivers/gpu/drm/panthor/panthor_sched.c โ€” and the whole crew in order: Scheduler(9), struct panthor_csg_slot(9), enum panthor_csg_priority(9), struct panthor_scheduler(9), struct panthor_syncobj_32b(9), struct panthor_syncobj_64b(9), struct panthor_queue(9), struct panthor_group(9), group_queue_work(9), sched_queue_work(9), sched_queue_delayed_work(9), struct panthor_group_pool(9), struct panthor_job(9), group_bind_locked(9), group_unbind_locked(9), cs_slot_prog_locked(9), cs_slot_reset_locked(9), csg_slot_sync_priority_locked(9), cs_slot_sync_queue_state_locked(9), sched_process_global_irq_locked(9), panthor_sched_report_fw_events(9), panthor_sched_report_mmu_fault(9), panthor_fdinfo_gather_group_mem_info(9). ๐Ÿฆ‹


Sign-off time, bestie: this page comes from the Kernel API Manual, source path ./drivers/gpu/drm/panthor, dated October 2026, and the manual name is enum panthor_group_state(9). Mwah ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from