i915_syncmap_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i915_syncmap_free(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs together, this is our bonding era 🫢


✨ NAME ✨

i915_syncmap_free β€” literally frees all the memory associated with the syncmap. all of it. every last byte. bye πŸ’…


🌸 SYNOPSIS 🌸

void i915_syncmap_free (struct i915_syncmap **root );

like… that's the whole function signature. short, sweet, iconic πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • root β€” a pointer to the #i915_syncmap. yes it's a double pointer, no we're not scared of it, we're built different πŸ’ͺ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie β˜• there are exactly two moods where you'd call this:

  1. the timeline is about to be freed and we genuinely no longer need the sync point tracking anymore, or
  2. the fences are all known to be signaled and the sync point tracking is just redundant at this point (it's giving extra)

either way? you can free the #i915_syncmap to recover its allocations. slay, memory reclaimed ✨

and the part you cannot skip: it will reinitialise the root pointer so that the #i915_syncmap is ready for reuse πŸ” like it doesn't just leave you hanging β€” it resets things so you can go again. main character energy fr fr


πŸ’€ SEE ALSO πŸ’€

iykyk β€” go read the whole friend group 🌈


and that's the page!! πŸ’œ this lil masterpiece lives in ./drivers/gpu/drm/i915, dated October 2026 β€” no cap, see you in the future bestie πŸ§šβ­πŸŽ€

πŸ“¦ where this page comes from