intel_runtime_pm_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_runtime_pm_get(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual page for intel_runtime_pm_get πŸ’– this is the girl who grabs a runtime pm reference and honestly? she eats every time.

✨ NAME ✨

intel_runtime_pm_get β€” grab a runtime pm reference 🫢

✨ SYNOPSIS ✨

intel_wakeref_t intel_runtime_pm_get (struct intel_runtime_pm *rpm );

yes, she returns an intel_wakeref_t and takes one struct intel_runtime_pm * β€” that's the whole vibe, no cap ✨

✨ ARGUMENTS ✨

  • rpm β€” the intel_runtime_pm structure πŸ‘‘ that's it, that's the argument, she's lowkey simple like that

✨ DESCRIPTION ✨

so what does she actually do? this function grabs a device-level runtime pm reference β€” mostly it's the GEM code using her to make sure the GTT or the GT is on πŸ”₯ β€” and she makes sure the thing is powered up. main character energy fr fr.

⚠️ okay this part is important, do not skip: any runtime pm reference you get from this function must have a symmetric call to intel_runtime_pm_put to release the reference again. symmetric. like, you took one, you give one back. no cap, that's the rule πŸ’€

✨ RETURN ✨

the wakeref cookie πŸͺ β€” pass it straight to intel_runtime_pm_put and you're golden, iykyk πŸ’–

✨ SEE ALSO ✨


and that's the page bestie!! πŸ¦‹ she lives over in ./drivers/gpu/drm/i915 and she's dated October 2026 β€” iconic, timeless, obsessed 🌸 go forth and release your references πŸ’œπŸŽ€

πŸ“¦ where this page comes from