i915_gem_ob...t_17_swizzle(9)
π i915_gem_object_save_bit_17_swizzle(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for i915_gem_object_save_bit_17_swizzle(9), and honestly? It's a tiny little function with a big job. Let's get into it π«Ά
πΈ NAME πΈ
i915_gem_object_save_bit_17_swizzle β save bit 17 swizzling π
β¨ SYNOPSIS β¨
void i915_gem_object_save_bit_17_swizzle (struct drm_i915_gem_object
*obj , struct sg_table *pages );
no cap, that's the whole signature β short and sweet, just like we like it π
π¦ ARGUMENTS π¦
objβ the i915 GEM buffer object π (the main character of this whole story, fr)pagesβ the scattergather list of physical pages π«
π DESCRIPTION π
Okay so here's the vibe: this function saves the bit 17 of each page frame number so that swizzling can be fixed up later on with i915_gem_object_do_bit_17_swizzle π§β¨
Think of it like taking a little screenshot of the bit 17 situation before things get moved around β because later, somebody's gonna need that info. iykyk π
β οΈ Real talk though: this must be called before the backing storage can be unpinned. Not optional, not "eh I'll do it later" β before, periodt. π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/gt/intel_ggtt_fencing.cfence register handling(9) π i915_vma_revoke_fence(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)β the sequel bestie, the one that fixes up everything this one saved π
so anyway, that's the whole page β short, iconic, and honestly kind of a team player π«Ά This edition came from ./drivers/gpu/drm/i915/gt and it's dated October 2026, mwah πβ¨
π¦ 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