i915_gem_fence_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to i915_gem_fence_size(9) from the Kernel API Manual β€” the manual name is literally right there in the group chat. This function is all about the required global GTT size for a fence, periodt.

✨ SYNOPSIS ✨

bestie, the signature is giving exactly this:

       u32 i915_gem_fence_size (struct drm_i915_private *i915 , u32 size ,
       unsigned int tiling , unsigned int stride );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • i915 β€” i915 device. Yep, the i915 device itself, the main character of this call.
  • size β€” object size. The size of the object, no cap.
  • tiling β€” tiling mode. Which tiling mode we're rolling with.
  • stride β€” tiling stride. The tiling stride value, iykyk.

🌸 DESCRIPTION 🌸

okay so here's the tea: it returns the required global GTT size for a fence β€” that's the view of a tiled object β€” and it takes into account potential fence register mapping. That's the whole function, bestie, and it's lowkey iconic ✨.

πŸ‘‘ SEE ALSO πŸ‘‘

Go peek at these cross-reference besties:


kisses and slay πŸ’…, this page's source/version is ./drivers/gpu/drm/i915/gem, the date is October 2026, and the title is still i915_gem_fence_size(9) πŸ’–

πŸ“¦ where this page comes from