xe_pm_runtime_get_if_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to xe_pm_runtime_get_if_active(9) from the Kernel API Manual πŸ’– this page is short, iconic, and here to explain one tiny runtime_pm moment. ✨

πŸŽ€ NAME πŸŽ€

xe_pm_runtime_get_if_active β€” Get a runtime_pm reference if device active. that's the whole name, and it ate. πŸ’…

✨ SYNOPSIS ✨

here's the signature, character-for-character, because we do not mess with code, periodt:

bool xe_pm_runtime_get_if_active (struct xe_device *xe );

πŸ’… ARGUMENTS πŸ’…

  • xe β€” xe device instance. that's it, bestie: one argument, main character energy, no extra chaos.

πŸ”₯ RETURN πŸ”₯

vibe check result: True if device is awake (regardless the previous number of references) and a new reference was taken, and false otherwise. no cap. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file: ./drivers/gpu/drm/xe/xe_pm.c β€” literally where this lives, iykyk.

the whole Xe power-management friend group is here, so don't skip anybody:


mwah πŸ’‹ β€” this cutie comes from ./drivers/gpu/drm/xe, dated October 2026, and it's xe_pm_runtime_get_if_active(9). bye bestie, go get that reference 🌈🫢

πŸ“¦ where this page comes from