xe_force_wake_put(9)
π xe_force_wake_put(9)
okay so bestie, welcome to the Kernel API Manual β we're doing the Kernel API Manual thing today, and the star of the show is xe_force_wake_put. yes it's a function name, yes it's giving "let her sleep", stay with me π€β¨
π NAME
xe_force_wake_put β decrements the refcount and, if that refcount hits 0, tucks the domain into bed ποΈπ
β¨ SYNOPSIS
void xe_force_wake_put (struct xe_force_wake *fw , unsigned int fw_ref );
like, that's it. that's the whole signature. no cap π«Ά
πΈ ARGUMENTS
fwβ pointer to the force wake structure π§ββοΈ (the main character, honestly)fw_refβ the return ofxe_force_wake_getβ¨ (yes, this is a couple-y situation, they come in pairs, iykyk)
π₯ DESCRIPTION
okay so here's the tea β: this function reduces the reference counts for the domains inside fw_ref. simple enough, right?
but the moment the refcount for any of the specified domains reaches 0, she puts that domain to sleep π΄ and then she waits for acknowledgment that the domain is actually asleep, all within a 50 milisec timeout β±οΈ. the drama. the suspense.
and if that ack times out? she warns. periodt π like, that's not a silent failure, bestie, she will absolutely let you know π
π SEE ALSO
- Kernel file
./drivers/gpu/drm/xe/xe_force_wake.c xe_force_wake_get(9)π (the other half of this duo, go say hi)
π that's the whole page, bestie β sourced straight from ./drivers/gpu/drm/xe, dated October 2026, and brought to you with love, 50 milisec of patience, and zero chill π
π
π¦ 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