intel_runtim...ut_unchecked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_runtime_pm_put_unchecked(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a little retro, a little problematic, and honestly kind of a "don't do this at home" situation, but we're gonna get through it together 🫢


🌸 NAME 🌸

intel_runtime_pm_put_unchecked β€” drop an unchecked runtime pm reference, no questions asked, no receipts kept 😭


✨ SYNOPSIS ✨

void intel_runtime_pm_put_unchecked (struct intel_runtime_pm *rpm );

like literally that's the whole signature, it's giving minimalism πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • rpm β€” the struct intel_runtime_pm structure, aka the thing you're about to hand a reference back to πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

so this function drops the device-level runtime pm reference that you got from intel_runtime_pm_get, and ngl it might power down the corresponding hardware block right away if this happens to be the last reference πŸ‘€ like it does not wait, it does not check in, it just goes πŸ’€

and here's the tea: this function exists only for historical reasons and should be avoided in new code, because the correctness of its use cannot be checked πŸ™ˆ like the vibes are immaculate but the safety is not, bestie

the way that this thing cannot verify you used it right is genuinely the whole problem 😭 always use intel_runtime_pm_put instead. periodt. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./drivers/gpu/drm/i915/intel_runtime_pm.c, plus all these icons πŸ‘‘


and that's the page babes 🌈 this lil beauty lives in ./drivers/gpu/drm/i915 and it's dated October 2026 ⭐ go forth, use intel_runtime_pm_put instead, and stay iconic πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from