ttm_tt_swapin(9)
π ttm_tt_swapin β straight from the Kernel API Manual, section 9 π
okay bestie, this one's a tiny little page but it's lowkey important, so let's get into it β¨
β¨ NAME β¨
ttm_tt_swapin β and honestly? that's it. the description field is literally empty in the original. not a single word after the dash. it's giving "mystery, but make it kernel" π so we're just gonna go off the synopsis and the one-line description, iykyk.
πΈ SYNOPSIS πΈ
int ttm_tt_swapin (struct ttm_tt *ttm );
that's the whole thing, no cap. one function, one argument, returns an int. clean. minimal. main character energy π
π ARGUMENTS π
ttmβ thestruct ttm_tt. that's the entire description, bestie, it's literally just "Thestruct ttm_tt." so yes, you're passing in astruct ttm_ttpointer, and that's the whole vibe π«Ά
π¦ DESCRIPTION π¦
so what does it do? the official line is:
swap in a previously swap out ttm_tt.
periodt. it takes a ttm_tt that was swapped out earlier and swaps it back in. that's the whole story β no extra lore, no hidden paragraphs, no secret options. if you were hoping for a 40-flag deep dive you're gonna have to go read a different page, because this one is a one-liner and she knows it π
π SEE ALSO π
okay this is where it gets juicy β the see-also list is stacked. like, genuinely iconic cross-reference energy. all of these live in the 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_destroy(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)
go read those if you want the full TTM cinematic universe ππ¦
ngl this page is short enough that you could read it in the time it takes to send one text, so no excuses bestie π
and that's the whole thing! this slice of wisdom comes from the source path ./include/drm/ttm, dated October 2026 β so yeah, she's fresh, she's documented, and she's out here living her best life in the kernel tree πΈπ slay, go swap in that ttm_tt! π§β¨
π¦ 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