i915_ttm_purge(9)
β¨ NAME β¨
okay bestie, welcome to the i915_ttm_purge(9) page from the Kernel API Manual π
The name is literally i915_ttm_purge β Clear an object of its memory. Thatβs the whole assignment, and itβs giving cleanup era. Slay. β¨
π¦ SYNOPSIS π¦
int i915_ttm_purge (struct drm_i915_gem_object *obj );
Bestie, it takes one struct drm_i915_gem_object * named obj and returns an int. Simple, iconic, no cap. π«Ά
πΈ ARGUMENTS πΈ
objβ the object. Thatβs the thing whose memory is getting cleared. main character object energy π
π DESCRIPTION π
This function is called to clear an object of its memory when it is marked as not needed anymore. So ngl, itβs the cleanup crew for objects that are done being useful β literally called when the object is no longer needed. Periodt. π§Ήβ¨
π₯ RETURN π₯
0on success β a clean win, we love to see it π«Ά- a negative error code on failure β not the vibe, but it tells you whatβs up π
π SEE ALSO π
The linked lore, preserved exactly so you can follow the rabbit hole:
- Kernel file
./drivers/gpu/drm/i915/gem/i915_gem_ttm.cstructi915_ttm_tt(9) i915_ttm_sys_placement(9)i915_ttm_free_cached_io_rsgt(9)i915_ttm_resource_get_st(9)i915_ttm_resource_mappable(9)i915_ttm_driver(9)Migration vs eviction(9)i915_ttm_adjust_lru(9)
source/version: ./drivers/gpu/drm/i915/gem π«Ά date: October 2026 π page: i915_ttm_purge(9) β¨
π¦ 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