ttm_tt_destroy(9)
π NAME π
ttm_tt_destroy β bestie, the description slot on this one is literally empty, no cap. The original page just goes ttm_tt_destroy - and thenβ¦ nothing. Silence. Iconic of it, honestly. So here's what we've got: the name, the signature, and the tea in DESCRIPTION below. π«Ά
(Also hi, this is the Kernel API Manual page for ttm_tt_destroy(9) β folding that in up top like a good little header, you're welcome β¨)
β¨ SYNOPSIS β¨
void ttm_tt_destroy (struct ttm_device *bdev , struct ttm_tt *ttm );
That's it. That's the whole vibe. Two args, no return, void city. π
πΈ ARGUMENTS πΈ
bdevβ thettm_devicethis object belongs to. Like, whose house is this thing living in. πttmβ thestruct ttm_tt. Yes that's the entire description in the original and yes I'm keeping it because facts are facts. It's thestruct ttm_tt, babe. π
π₯ DESCRIPTION π₯
Okay so ttm_tt_destroy does the full goodbye tour, in order:
It unbinds, it unpopulates, and it destroys the common struct ttm_tt. Three stages. A whole farewell era. Not me getting emotional over a buffer object cleanup routine π
So like β think of it as the main character exit for a struct ttm_tt: it gets detached from where it was living, its memory situation gets cleared out, and then the thing itself gets yeeted into the void. Clean, complete, done. Periodt. π
π¦ SEE ALSO π¦
Everything below is verbatim from the original, because I am not about to start beef with a cross-reference list. Iykyk. π
- Kernel file
./include/drm/ttm/ttm_tt.h struct ttm_tt(9)struct ttm_kmap_iter_tt(9)ttm_tt_is_swapped(9)ttm_tt_is_backed_up(9)ttm_tt_clear_backed_up(9)ttm_tt_create(9)ttm_tt_init(9)ttm_tt_fini(9)ttm_tt_swapin(9)ttm_tt_populate(9)ttm_tt_unpopulate(9)ttm_tt_mark_for_clear(9)struct ttm_backup_flags(9)ttm_agp_tt_create(9)
okay that's the whole page bestie, mwah π
Sign-off tea: this came out of the ./include/drm/ttm source, dated October 2026, and it's serving Kernel API Manual energy the whole way through. Go read the header file, it's giving lore. π§β
π¦ 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