i915_syncmap_free(9)
π 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:
- the timeline is about to be freed and we genuinely no longer need the sync point tracking anymore, or
- 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 π
- Kernel file
./drivers/gpu/drm/i915/i915_syncmap.c i915_syncmap_init(9)i915_syncmap_is_later(9)i915_syncmap_set(9)
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
- 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