xe_pm_runtime_suspend(9)
π xe_pm_runtime_suspend(9) π
Ok so bestie, welcome to the Kernel API Manual page for xe_pm_runtime_suspend β¨ β yes, that's the whole title, yes it's a lot, but we're gonna get through it together, together-together π«Ά
πΈ NAME πΈ
xe_pm_runtime_suspend β the function that gets our device all cozy and ready for D3hot/D3Cold π΄βοΈ Like, it's literally doing the pre-bedtime routine for your GPU. Slay.
β¨ SYNOPSIS β¨
int xe_pm_runtime_suspend (struct xe_device *xe );
That's it. That's the whole signature. One function, one pointer, one int return. Minimalist queen energy πβ¨
π ARGUMENTS π
xeβ the xe device instance π Like, the actual device we're putting to sleep. The main character, if you will.
π§ DESCRIPTION π§
Ok so here's the tea β: this function returns 0 for success, and a negative error code otherwise. That's it. That's the whole description, no cap. Lowkey iconic that the manpage authors just said "yeah that's enough" and moved on. Respect π
Fr fr though: if you get anything other than 0 back, that is not a slay, that's an error, and you should handle it accordingly. No vibes-only error handling, bestie π
π¦ SEE ALSO π¦
The og manpage says the kernel file lives at ./drivers/gpu/drm/xe/xe_pm.c β go read it, iykyk πβ¨
And here's the whole friend group, all the related manual pages, every single one, not skipping a single member of the squad π:
Xe Power Management(9)xe_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_init(9)xe_pm_fini(9)xe_pm_runtime_suspended(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)
And that's the whole page, bestie!! πβ¨ This little gem comes from ./drivers/gpu/drm/xe and it's dated October 2026 β so like, future-dated, mysterious, honestly kinda giving time traveler ππ¦ Go forth and suspend responsibly π«Άπ
π¦ 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