i915_vma_revoke_fence(9)
π i915_vma_revoke_fence(9) π
okay so welcome to the i915_vma_revoke_fence(9) page, straight out of the Kernel API Manual bestie. this one's short and sweet but it's literally load-bearing, so pay attention π
β¨ NAME β¨
i915_vma_revoke_fence β force-remove fence for a VMA
like, force-remove. not "ask nicely", not "politely suggest" β we are evicting that fence π«Ά
π¦ SYNOPSIS π¦
void i915_vma_revoke_fence (struct i915_vma *vma );
yes that's the whole thing. void return, one argument, no drama (the drama is in the fence itself, iykyk) β¨
π ARGUMENTS π
vmaβ the vma to map linearly (not through a fence reg). like, we're doing the direct route here, no fence-reg middleman, no detour, just linear mapping energy π
πΈ DESCRIPTION πΈ
okay so what does it actually do: this function force-removes any fence from the given object. every single one. no survivors.
and why would you want that? it's useful if the kernel wants to do untiled GTT access β because a fence is basically sitting there in the way being like "um actually i'm sorting the tiling" and the kernel's like "not today bestie" π
so yeah, the fence gets revoked. it's giving main character energy for the kernel, honestly π
π§ SEE ALSO π§
- Kernel file
./drivers/gpu/drm/i915/gt/intel_ggtt_fencing.cβ fence register handling(9) i915_vma_pin_fence(9)i915_reserve_fence(9)i915_unreserve_fence(9)intel_ggtt_restore_fences(9)- tiling swizzling details(9)
detect_bit_6_swizzle(9)i915_gem_object_do_bit_17_swizzle(9)i915_gem_object_save_bit_17_swizzle(9)
the whole fence friend group fr fr, go read them next, they all ate π₯
ngl there's nothing dangerous documented here, but remember: you're force-removing something. if some other part of your code was lowkey relying on that fence still being there... that's a you problem, bestie π
k bye, hope this helped!! this page came from ./drivers/gpu/drm/i915/gt and it's dated October 2026 β mwah, slay, drink some water, and remember to git blame 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