__xe_sync_ufence_get(9)
π
__xe_sync_ufence_get (9) β from the Kernel API Manual, bestie π
Okay so picture this: you're deep in drivers/gpu/drm/xe land, it's giving kernel API, it's giving graphics driver, and you need a user fence reference. That's literally what this function is for. Let's get into it β¨
πΈ NAME πΈ
__xe_sync_ufence_get β get a user fence from a user fence π¦
Like, yes, that's the whole bit: it's the getter. For the user fence. From the user fence. Iconic circular-sounding phrasing, no cap, but that's genuinely what the manpage says and we're not gonna argue with kernel docs π
β¨ SYNOPSIS β¨
struct xe_user_fence * __xe_sync_ufence_get (struct xe_user_fence
*ufence );
That's the whole signature β it takes one struct xe_user_fence * and hands you back another struct xe_user_fence *. Simple. Clean. Main character energy π
π§ ARGUMENTS π§
ufenceβ the input user fence π«Ά that's it, that's the argument, it's the fence you're feeding in
π DESCRIPTION π
Get a user fence reference from user fence.
That's the official line and honestly? It ate. Short, sweet, does exactly what it says on the tin. You pass in a user fence, you get a reference to it. No drama, no extra lore, no secret side quests π
β RETURN β
A xe_user_fence pointer, with a reference π
β so like, you're walking away holding a ref, and you should probably remember you're holding it (xe_sync_ufence_put(9) is literally right there in SEE ALSO, just saying π).
π₯ SEE ALSO π₯
Go read these, bestie, iykyk:
- Kernel file
./drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_wait(9)xe_sync_needs_wait(9)xe_sync_in_fence_get(9)xe_sync_ufence_get(9)xe_sync_ufence_put(9)xe_sync_ufence_get_status(9)
Heads up πΈ this page is the double-underscore version (__xe_sync_ufence_get), and the SEE ALSO list also has the single-underscorexe_sync_ufence_get(9). They're two different entries in the docs β don't get it twisted, keep both π
And that's the whole page! Source/version vibes: this one lives under ./drivers/gpu/drm/xe, dated October 2026, and it's page __xe_sync_ufence_get(9) of the Kernel API Manual. Slay, go get your fence references 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