xe_pm_init(9)
π xe_pm_init(9) β like, the Kernel API Manual entry, bestie π
okay so picture this: it's a kernel API manual page, it's called xe_pm_init(9), and it's about to tell you how to wake up the Xe power management of your dreams. stay with me, it's gonna slay β¨
πΈ NAME πΈ
xe_pm_init β Initialize Xe Power Management. that's it, that's the whole vibe. short, iconic, to the point π
π SYNOPSIS π
int xe_pm_init (struct xe_device *xe );
like yes, that's the whole signature. it returns an int, it takes a struct xe_device * named xe. no cap. π«Ά
π¦ ARGUMENTS π¦
xeβ the xe device instance. that's your girl. that's the whole device you're handing over π
β¨ DESCRIPTION β¨
okay so real talk: this component? it's responsible for System and Device sleep states. sleep states!! the nap architecture!! π΄β¨ it's giving very much "who's allowed to snooze and when" energy, and honestly? obsessed.
and the return situation, because you know we're checking:
- returns
0for success β yay, ate, no notes π - returns a negative error code otherwise β so if it's not
0, something's up and it's telling you in negative-number form π
lowkey a vibe check in integer form: 0 means we're good, anything negative means nope. don't ignore the negative ones, bestie, fr fr.
π SEE ALSO π
the whole friend group, and they're all invited to the group chat:
- the kernel file
./drivers/gpu/drm/xe/xe_pm.cβ literally the source file, the main character energy itself π Xe Power Management(9)β the big one, the mother pagexe_pm_might_block_on_suspend(9)xe_pm_block_on_suspend(9)xe_rpm_reclaim_safe(9)xe_pm_suspend(9)xe_pm_resume(9)xe_pm_init_early(9)xe_pm_probe(9)xe_pm_fini(9)xe_pm_runtime_suspended(9)xe_pm_runtime_suspend(9)xe_pm_runtime_resume(9)xe_pm_runtime_get(9)xe_pm_runtime_put(9)xe_pm_runtime_get_ioctl(9)xe_pm_runtime_get_if_active(9)xe_pm_runtime_get_if_in_use(9)xe_pm_runtime_get_noresume(9)xe_pm_runtime_resume_and_get(9)xe_pm_assert_unbounded_bridge(9)xe_pm_set_vram_threshold(9)xe_pm_d3cold_allowed_toggle(9)xe_pm_module_init(9)
twenty-two runtime buddies and a source file. that's a squad. iykyk π
π§ sign-off π§
and that's the page, bestie!! π this whole thing lives under ./drivers/gpu/drm/xe, the manual is dated October 2026, and the page is β say it with me β xe_pm_init(9) π
π
mwah, go init some power management. periodt β¨π
π¦ 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