__i915_gem_o...t_pages_fini(9)
β¨ __i915_gem_o...t_pages_fini(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this one's about __i915_gem_o...t_pages_fini β yes the name is a whole mouthful, yes it got truncated in the header with that ..., we don't judge, we just vibe. Let's get into it π«Ά
πΈ NAME πΈ
__i915_gem_object_pages_fini β clean up pages use of a gem object π§Ήβ¨
π SYNOPSIS π
void __i915_gem_object_pages_fini (struct drm_i915_gem_object *obj );
π ARGUMENTS π
objβ the gem object you're cleaning up. that's the one, that's your main character right there π
π¦ DESCRIPTION π¦
okay so what this function does is clean up usage of the object's mm.pages member. periodt π
it's meant for backends that need to clean up a gem object in separate steps β like, breaking up with your object but in stages, we love a gradual process π and listen: it needs to be called when the object is idle, before the object's backing memory is freed. not after, not during, before π«Ά that's the vibe check it has to pass first.
no cap, timing matters here β idle object, then cleanup, then free the backing memory. in that order, bestie, or it's giving chaos π
β SEE ALSO β
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_object.c __i915_gem_object_fini(9)i915_gem_object_set_cache_coherency(9)i915_gem_object_set_pat_index(9)i915_gem_object_read_from_page(9)i915_gem_object_evictable(9)i915_gem_object_migratable(9)i915_gem_object_has_struct_page(9)i915_gem_object_has_iomem(9)i915_gem_object_can_migrate(9)i915_gem_object_migrate(9)__i915_gem_object_migrate(9)i915_gem_object_placement_possible(9)i915_gem_object_needs_ccs_pages(9)i915_gem_object_get_moving_fence(9)i915_gem_object_wait_moving_fence(9)
like, that's the whole friend group right there, go say hi to all of them π
and that's the page!! π this cutie lives in ./drivers/gpu/drm/i915/gem, dated October 2026, and the version tag is __i915_gem_o...t_pages_fini(9) β same truncated icon as the header, we stan a consistent queen πβ¨ bye bestie, go clean up some pages responsibly π
π¦ 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