xe_pm_runtime_get_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_pm_runtime_get_ioctl(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for xe_pm_runtime_get_ioctl β€” yes, the function name is also the title, we love a self-referential moment ✨.

🌸 NAME 🌸

xe_pm_runtime_get_ioctl β€” Get a runtime_pm reference before ioctl πŸ’…

✨ SYNOPSIS ✨

int xe_pm_runtime_get_ioctl (struct xe_device *xe );

πŸŽ€ ARGUMENTS πŸŽ€

  • xe β€” xe device instance 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the tea, bestie: when possible, scope-based runtime PM (through ACQUIRE(xe_pm_runtime_ioctl, ...)) is preferred over direct usage of this function. No cap, scope-based is the main character when it fits.

Manual get/put handling should only be used when the function contains goto-based logic which can break scope-based handling, or when the lifetime of the runtime PM reference does not match a specific scope (e.g., runtime PM obtained in one function and released in a different one). That’s the whole vibe check: manual handling is for those specific situations, not just because you feel like it πŸ™ˆ.

πŸ”₯ RETURN πŸ”₯

Any number greater than or equal to 0 for success, negative error code otherwise. Slay πŸ’….

🌈 SEE ALSO 🌈

the whole squad is here, no one left behind:

mwah πŸ’‹ this cutie lives in ./drivers/gpu/drm/xe, is dated October 2026, and is filed under xe_pm_runtime_get_ioctl(9) β€” periodt 🫢

πŸ“¦ where this page comes from