xe_pm_runtime_suspend(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ:


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