i915_reserve_fence(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i915_reserve_fence(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes this is a kernel manpage, yes we're gonna make it cute, and yes the facts are staying exactly where they are πŸŽ€


✨ NAME ✨

i915_reserve_fence β€” Reserve a fence for vGPU


πŸ¦‹ SYNOPSIS πŸ¦‹

struct i915_fence_reg * i915_reserve_fence (struct i915_ggtt *ggtt );

bestie. look at that signature. *struct i915_fence_reg ** pointing at you like it already knows your whole life story. it's giving main character energy fr fr πŸ’…


🌸 ARGUMENTS 🌸

  • ggtt β€” Global GTT. that's it, that's the whole argument. one (1) parameter, and it's the Global GTT. iconic, actually 🫢

πŸ’– DESCRIPTION πŸ’–

so listen, here's the vibe check: this function walks the fence regs looking for a free one, and then removes it from the fence_list. that's the whole job. back and forth, back and forth, like a girl scrolling her ex's instagram πŸ‘€

and why? because it's used to reserve a fence for vGPU to use. slay. that's literally the description, no cap, no extra lore, that's just what it does πŸ’€βœ¨

lowkey important: this is the reserving-a-fence one. not the un-reserving one. not the revoking one. we'll get to those in a sec, keep reading πŸ“

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c fence register handling(9)
  • i915_vma_revoke_fence(9)
  • i915_vma_pin_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)

(that bit_17 swizzle one made it on the list twice in spirit and honestly? she earned it πŸ‘‘)


kisses, and go read the other fence manpages, i will be quizzing you 🧚

this little love letter came to you from ./drivers/gpu/drm/i915/gt, dated October 2026 β€” mwah, bye bestie πŸ’œπŸŽ€πŸŒˆ

πŸ“¦ where this page comes from