intel_runtime_pm_get(9)
π 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β theintel_runtime_pmstructure π 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 β¨
- Kernel file
./drivers/gpu/drm/i915/intel_runtime_pm.c - runtime pm(9)
intel_runtime_pm_get_raw(9)__intel_runtime_pm_get_if_active(9)intel_runtime_pm_get_noresume(9)intel_runtime_pm_put_raw(9)intel_runtime_pm_put_unchecked(9)intel_runtime_pm_put(9)intel_runtime_pm_enable(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms