STRUCT TTM_BUS_PLACEMENT(9)
πΈ struct ttm_bus_placement(9) πΈ
okay bestie, welcome to the Kernel API Manual β this one's a struct page, so grab a lil snack and let's get into it π
β¨ NAME β¨
struct ttm_bus_placement β that's it, that's the name π
(the original page literally leaves the description blank here, so we're not gonna invent one, iykyk)
π¦ SYNOPSIS π¦
struct ttm_bus_placement {
void *addr;
phys_addr_t offset;
bool is_iomem;
enum ttm_caching caching;
};
like, that's the whole vibe. four fields, zero drama β¨
π Members π
addrβ the mapped virtual address, fr fr π«Άoffsetβ the physical addris_iomemβ is this io memory ? (yes, with the space before the question mark, we keep it iconic π)cachingβ Seeenum ttm_cachingβ go look at that enum, bestie, it's got the lore π
π Description π
So the way that this works: it's a structure indicating the bus placement of an object. that's the whole assignment. main character energy for a struct that just holds placement info π
π₯ SEE ALSO π₯
Kernel file ./include/drm/ttm/ttm_resource.h β and the whole friend group, no cap:
TTM_NUM_MOVE_FENCES(9)enum ttm_lru_item_type(9)struct ttm_lru_item(9)ttm_lru_item_init(9)struct ttm_resource_manager(9)struct ttm_resource(9)ttm_lru_item_to_res(9)struct ttm_lru_bulk_move_pos(9)struct ttm_lru_bulk_move(9)struct ttm_resource_cursor(9)struct ttm_kmap_iter_iomap(9)struct ttm_kmap_iter_linear_io(9)ttm_resource_manager_set_used(9)ttm_resource_manager_used(9)ttm_resource_manager_cleanup(9)ttm_resource_manager_for_each_res(9)
ngl that's a lot of cross-references, but every single one of them is listed above β don't skip them, they're the supporting cast ππ
okay that's the page!! mwah π this one came from ./include/drm/ttm and it's dated October 2026 β so like, future vibes only β¨π¦π slay, go read some kernel source, ily, bye π
πΈ
π¦ 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