intel_wakeref_get_if_active(9)
π intel_wakeref_get_if_active(9) π
okay bestie, welcome to this Kernel API Manual page β we're talking about intel_wakeref_get_if_active, and it's honestly a pretty chill one. π
π NAME π
intel_wakeref_get_if_active β Acquire the wakeref
β¨ SYNOPSIS β¨
bool intel_wakeref_get_if_active (struct intel_wakeref *wf );
π«Ά ARGUMENTS π«Ά
wfβ the wakeref, aka the struct you're working with. π¦
πΈ DESCRIPTION πΈ
So here's the vibe: this function acquires a hold on the wakeref, but ONLY if that wakeref is already active. No cap β that's the whole condition. If it's already active, it grabs the hold; if not, it doesn't. β¨
β RETURN β
true if the wakeref was acquired, and false otherwise. Simple as that, bestie. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/gpu/drm/i915/intel_wakeref.h
intel_wakeref_get(9)__intel_wakeref_get(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 tea π this page lives in the ./drivers/gpu/drm/i915 source tree, dated October 2026, and it's the intel_wakeref_get_if_active(9) page from this Kernel API Manual β mwah πβ¨
π¦ 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