intel_runtime_pm_get_raw(9)
π intel_runtime_pm_get_raw(9) π
Okay bestie, welcome to the Kernel API Manual section for intel_runtime_pm_get_raw(9) β yes, the raw runtime PM reference grabber itself. Buckle up, this one's a little spicy πΆοΈβ¨
πΈ NAME πΈ
intel_runtime_pm_get_raw β grab a raw runtime pm reference π«Ά
β¨ SYNOPSIS β¨
intel_wakeref_t intel_runtime_pm_get_raw (struct intel_runtime_pm *rpm
);
π ARGUMENTS π
rpmβ theintel_runtime_pmstructure π
π¦ DESCRIPTION π¦
So this is the unlocked version of intel_display_power_is_enabled, and bestie, it should only be used from error capture and recovery code where deadlocks are possible. Like, that is the whole vibe check here β do not just casually use this in normal code, okay? π
This function grabs a device-level runtime pm reference (mostly used for asynchronous PM management from display code) and ensures that it is powered up. Slay, but with caveats β¨
Raw references are not considered during wakelock assert checks. So yeah, they're lowkey invisible to that whole system π
π Any runtime pm reference obtained by this function must have a symmetric call to intel_runtime_pm_put_raw to release the reference again. No cap β if you get it, you gotta put it. Periodt. π
β RETURN β
Returns the wakeref cookie to pass to intel_runtime_pm_put_raw. It evaluates as True if the wakeref was acquired, or False otherwise. So basically: truthy = you got it, falsy = you didn't, and either way you're keeping track of that cookie πͺπ
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/i915/intel_runtime_pm.c runtime pm(9)intel_runtime_pm_get(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)
That's the whole page, bestie β you ate that read π β¨
π Cute little sign-off: this one lives under./drivers/gpu/drm/i915, dated October 2026, in the Kernel API Manual, and yes, it's stillintel_runtime_pm_get_raw(9)β iconic behavior only ππ
π¦ 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