ENUM PANTHOR_GROUP_STATE(9)
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
- 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