intel_runtime_pm_get_raw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the intel_runtime_pm structure πŸ’…

πŸ¦‹ 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 πŸ”₯


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 still intel_runtime_pm_get_raw(9) β€” iconic behavior only πŸ‘‘πŸ’–
πŸ“¦ where this page comes from