ttm_bo_shrink_suitable(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… ttm_bo_shrink_suitable ๐Ÿ’…

okay so bestie, this is a page straight outta the Kernel API Manual โ€” and it's here to answer one very specific question: is this bo suitable for shinking? (yes, โ€œshinkingโ€ is the spelling on the page, not me ๐Ÿ˜ญ). Anyway, slay, let's get into it.

โœจ NAME โœจ

ttm_bo_shrink_suitable โ€” whether a bo is suitable for shinking.

๐Ÿ”ฎ SYNOPSIS ๐Ÿ”ฎ

bool ttm_bo_shrink_suitable (struct ttm_buffer_object *bo , struct
       ttm_operation_ctx *ctx );

๐Ÿงธ ARGUMENTS ๐Ÿงธ

  • bo โ€” the candidate for shrinking. this is the little guy under consideration ๐Ÿ’…
  • ctx โ€” the struct ttm_operation_ctx governing the shrinking.

๐ŸŒธ DESCRIPTION ๐ŸŒธ

Check whether the object, given the information available to TTM, is suitable for shinking. This function can and should be used before attempting to shrink an object. Like, do the vibe check first, bestie โ€” it's literally right there. No cap.

โœ… RETURN โœ…

  • true if suitable.
  • false if not.

periodt.

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

Kernel file ./drivers/gpu/drm/ttm/ttm_bo_util.c


mwah ๐Ÿ’‹ โ€” source/version: ./drivers/gpu/drm/ttm; date: October 2026.

๐Ÿ“ฆ where this page comes from