__intel_wakeref_get(9)
π __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 ππ:
intel_wakeref_get(9)intel_wakeref_get_if_active(9)__intel_wakeref_put(9)intel_wakeref_lock(9)intel_wakeref_unlock(9)intel_wakeref_unlock_wait(9)intel_wakeref_is_active(9)__intel_wakeref_defer_park(9)intel_wakeref_wait_for_idle(9)intel_wakeref_auto(9)
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
- 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