__intel_wakeref_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __intel_wakeref_get(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one is a little function from the kernel side of things and honestly? she's short but she knows exactly what she is. let's get into it 🫢


✨ NAME ✨

__intel_wakeref_get β€” Acquire the wakeref, again πŸ‘‘ (yes, again. that's the whole vibe.)


🌸 SYNOPSIS 🌸

void __intel_wakeref_get (struct intel_wakeref *wf );

like, she returns nothing (void), takes exactly one thing, and doesn't miss. periodt. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • wf β€” the wakeref. that's it. that's the argument. she is the wakeref and we love her for it πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

So the move here is: increment the wakeref counter ⭐ β€” but (and this is the important part, don't skip it) it's only valid if it is already held by the caller. so like, this isn't you starting something new, this is you going "yeah I already have this, give me one more" πŸ’€ no cap, vibe check first.

fr fr β€” if it's not already held by you, this is not the function for you. read the room.

and see intel_wakeref_get for the main-character version 🧚


πŸ¦‹ SEE ALSO πŸ¦‹

These all live in the kernel file ./drivers/gpu/drm/i915/intel_wakeref.h β€” the whole friend group, honestly πŸ˜­πŸ’œ:


and that's the page!! 🌈 sourced from ./drivers/gpu/drm/i915, dated October 2026, filed under __intel_wakeref_get(9). go get that ref, bestie, you've already got it anyway πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from