xe_pm_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_pm_probe β€” like, the actual NAME section πŸ’…

okay so bestie, welcome to xe_pm_probe from the Kernel API Manual (yes, the Kernel API Manual, we're in the big leagues now ✨). This is the little function that gets Xe Power Management set up and ready to slay. It's giving "first day of school" energy for your GPU's power management πŸŽ€


✨ SYNOPSIS ✨

int xe_pm_probe (struct xe_device *xe );

that's it. that's the whole vibe check. one argument, one int coming back at you 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xe β€” literally just the xe_device instance. that's your whole ass GPU device struct, bestie, handing itself over so the probe can do its thing πŸ’–

🌸 DESCRIPTION 🌸

okay so here's the tea: this function checks d3cold capability. that's it. that's the description. it's a whole short king of a manpage and honestly? iconic. no cap, it does exactly one job and it does it πŸ’…

so like, when this runs, it's looking at whether your device can go all the way into that d3cold state. vibe check for deep sleep mode, basically 😴✨


πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰ (slay, we love a zero)
  • a negative error code on failure 😭 (not slay, but at least it tells you)

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, this list is long and honestly? it ate. here's the whole crew, all in the ./drivers/gpu/drm/xe/xe_pm.c file under Xe Power Management(9) β€” the main character herself 🧚

like, that's the entire friend group right there 🌈 go read them, iykyk πŸ’œ


ngl the whole page is like four lines of actual content and then a massive SEE ALSO section. respect the hustle tbh πŸ™ˆ

mwah πŸ’‹ that's the page! brought to you straight out of the ./drivers/gpu/drm/xe directory, stamped October 2026, and yes it's still xe_pm_probe(9) β€” no thoughts, just d3cold capability checks. periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from