ENUM PANTHOR_DEVICE_PM_STATE(9)
π NAME π
enum panthor_device_pm_state β the PM state, bestie. That's it, that's the whole vibe β¨
Oh and hey β this page lives in the Kernel API Manual, which is very much giving "the docs your kernel bestie actually reads" π«Ά
πΈ SYNOPSIS πΈ
enum panthor_device_pm_state {
PANTHOR_DEVICE_PM_STATE_SUSPENDED ,
PANTHOR_DEVICE_PM_STATE_RESUMING ,
PANTHOR_DEVICE_PM_STATE_ACTIVE ,
PANTHOR_DEVICE_PM_STATE_SUSPENDING
};
Look at that enum, it's literally iconic π Four constants, all named PANTHOR_DEVICE_PM_STATE_something, and the spacing is exactly how the original wrote it β not me, I don't make the rules π
π Constants π
Okay so the vibe check on each one of these:
PANTHOR_DEVICE_PM_STATE_SUSPENDEDβ device is suspended. Like, fully napping π΄ nothing is happening and that's the whole point.PANTHOR_DEVICE_PM_STATE_RESUMINGβ device is being resumed. It's waking up, stretching, coming back online π¦ mid-transition, not there yet.PANTHOR_DEVICE_PM_STATE_ACTIVEβ device is active. Main character energy, fully awake, doing its thing π₯PANTHOR_DEVICE_PM_STATE_SUSPENDINGβ device is being suspended. Headed to nap town, but likeβ¦ still on the way there π
No cap, that's the whole enum. Four states, each one described exactly as it is, none of them extra π
π SEE ALSO π
If you're the kind of person who clicks every link in the group chat, this section is for you:
- Kernel file
./drivers/gpu/drm/panthor/panthor_device.h struct panthor_soc_data(9)struct panthor_irq(9)struct panthor_device(9)struct panthor_file(9)panthor_device_schedule_reset(9)panthor_device_reset_is_pending(9)panthor_exception_is_fault(9)PANTHOR_IRQ_HANDLER(9)
iykyk π§
Bestie, reminder: every single name above is verbatim from the page β don't go renaming them, they have to match the kernel's actual symbols fr fr π
Okay that's the whole manual page, you're welcome, you crushed it π This one came out of ./drivers/gpu/drm/panthor and the version tag on it is enum panthor...ice_pm_state(9), dated October 2026 β so yes, it's from the future, slay βπ
π
π¦ 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