ttm_bo_pipeline_gutting(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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