i915_ggtt_clear_scanout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i915_ggtt_clear_scanout ✨

okay bestie, welcome to the Kernel API Manual page for i915_ggtt_clear_scanout β€” section 9, kernel-adjacent, deeply niche, and honestly kind of iconic for it πŸ’…


🌸 NAME 🌸

i915_ggtt_clear_scanout β€” literally just: clear the scanout flag for all objects' ggtt vmas πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void i915_ggtt_clear_scanout (struct drm_i915_gem_object *obj );

that's it. that's the whole vibe. one function, one pointer, zero drama ✨


πŸ’– ARGUMENTS πŸ’–

  • obj β€” an i915 GEM object 🫢

so here's the tea: this function clears the scanout flags for that object's ggtt vmas. those flags get set when the object is pinned for display use, and this function β€” the one that clears them all β€” is targeted to be called by the frontbuffer tracking code when the frontbuffer is about to be released. no cap, that's the whole job 😭✨


πŸ‘‘ SEE ALSO πŸ‘‘

peep the kernel file ./drivers/gpu/drm/i915/i915_vma.c and its besties:

go read them, iykyk πŸ§šπŸ’œ


and that's the page!! mwah πŸ’‹ this lil corner of the kernel lives at ./drivers/gpu/drm/i915, dated October 2026, and you can cite it as i915_ggtt_clear_scanout(9) forever and always πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from