intel_uncore..._put__locked(9)
π NAME π
intel_uncore_forcewake_put__locked β bestie, this one releases your forcewake domain references β¨ (and yes the double underscore is part of the vibe, don't @ me)
So this whole page lives in the Kernel API Manual, which is exactly as iconic as it sounds π
πΈ SYNOPSIS πΈ
void intel_uncore_forcewake_put__locked (struct intel_uncore *uncore ,
enum forcewake_domains fw_domains );
π¦ ARGUMENTS π¦
uncoreβ theintel_uncorestructure, aka the main character of this whole function π«Άfw_domainsβ the forcewake domains you're putting references to, iykyk
β¨ DESCRIPTION β¨
Okay so first things first, go read intel_uncore_forcewake_put β that's the sibling function, the blueprint, the lore π
This variant is the locked one, and it's giving "you're on your own, bestie." It places the onus on the caller to explicitly handle the dev_priv->uncore.lock spinlock π
Not me about to say this again but fr fr: YOU, the caller, must handle dev_priv->uncore.lock yourself. This function will not do it for you. No cap, no hand-holding, no safety net π
π SEE ALSO π
The kernel file where all of this lives:
./drivers/gpu/drm/i915/intel_uncore.c
And the whole friend group of related functions, all so valid:
intel_uncore_forcewake_get(9)intel_uncore_forcewake_user_get(9)intel_uncore_forcewake_user_put(9)intel_uncore_forcewake_get__locked(9)intel_uncore_forcewake_put(9)intel_uncore_forcewake_flush(9)__intel_wait_for_register_fw(9)__intel_wait_for_register(9)intel_uncore_forcewake_for_reg(9)
okay that's the whole page bestie, you ate that π β¨
Dropping the credits real quick π¬ β this one's from ./drivers/gpu/drm/i915, dated October 2026, and it's the intel_uncore..._put__locked(9) page. Go forth and handle your spinlocks responsibly π«Άπ
π¦ 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