ttm_bo_pipeline_gutting(9)
ttm_bo_pipeline_gutting(9) π
okay bestie, this is the Kernel API Manual page for ttm_bo_pipeline_gutting(9) β yes, the title and the manual name are both right here, folded in like a cute little header moment. β¨ No cap, weβre about to get into it.
πΈ NAME πΈ
ttm_bo_pipeline_gutting β purge the contents of a bo.
β¨ SYNOPSIS β¨
the signature is literally:
int ttm_bo_pipeline_gutting (struct ttm_buffer_object *bo );
π ARGUMENTS π
boβ the buffer object. Thatβs the argument, bestie; itβs the buffer object and itβs the main character of this call. π
π¦ DESCRIPTION π¦
okay so this function purges the contents of a bo β like, it clears the whole thing out. It does this async if the bo is not idle, so if the bo is already chilling/idle, that async vibe is not the move.
After a successful call, the bo is left unpopulated in system placement. Thatβs the after-state, periodt.
heads up, bestie: the function may wait uninterruptible for idle on OOM. So on OOM it can sit there waiting for idle and you canβt interrupt that wait β not me pretending thatβs casual, because itβs literally in the docs. π
π RETURN π
Returns 0 if successful, and a negative error code on failure. fr fr, thatβs the whole return contract.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c β plus the whole bestie squad of related functions:
ttm_move_memcpy(9)ttm_bo_move_memcpy(9)ttm_buffer_object_transfer(9)ttm_io_prot(9)ttm_bo_kmap_try_from_panic(9)ttm_bo_kmap(9)ttm_bo_kunmap(9)ttm_bo_vmap(9)ttm_bo_vunmap(9)ttm_bo_move_accel_cleanup(9)ttm_bo_move_sync_cleanup(9)ttm_lru_walk_for_evict(9)ttm_bo_lru_cursor_fini(9)ttm_bo_lru_cursor_init(9)ttm_bo_lru_cursor_next(9)ttm_bo_lru_cursor_first(9)ttm_bo_shrink(9)ttm_bo_shrink_suitable(9)ttm_bo_shrink_avoid_wait(9)
okay thatβs the page, bestie! source/version: ./drivers/gpu/drm/ttm, dated October 2026 β and itβs the ttm_bo_pipeline_gutting(9) page. mwah πβ¨
π¦ 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