__intel_wakeref_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to __intel_wakeref_put(9) from the Kernel API Manual β€” yes, we’re doing this, and yes, it’s gonna make sense πŸ’–

✨ NAME ✨

__intel_wakeref_put β€” release the wakeref, bestie. That’s the whole vibe: put it down, let it go, bye πŸ‘‹πŸ’…

🌸 SYNOPSIS 🌸

void __intel_wakeref_put (struct intel_wakeref *wf , unsigned long flags
);

πŸŽ€ ARGUMENTS πŸŽ€

  • wf β€” the wakeref. That’s it, that’s the argument 🫢
  • flags β€” control flags. Control-flag behavior, no cap ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the tea: this function releases our hold on the wakeref πŸ’…

When there are no more users, the runtime pm wakeref will be released after the intel_wakeref_ops->put callback is called underneath the wakeref mutex. That’s the order, bestie β€” callback underneath the wakeref mutex, then the runtime pm wakeref release when the users are gone ✨

⚠️ note time: intel_wakeref_ops->put is allowed to fail, in which case the runtime-pm wakeref is retained. no cap, that’s literally the caveat 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/gpu/drm/i915/intel_wakeref.h β€” and here’s the whole friend group 🫢


mwah πŸ’‹ this page came from ./drivers/gpu/drm/i915, dated October 2026, and it’s literally __intel_wakeref_put(9). slay, you made it to the end 🫢✨

πŸ“¦ where this page comes from