ENUM TTM_LRU_ITEM_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ttm_lru_item_type(9) β€” bestie's field guide to the TTM LRU item gang

okay so this is the ttm_lru_item_type page from the Kernel API Manual, and it's honestly such a short one that you could read it in the time it takes your iced coffee to arrive πŸ§‹ β€” but it's important, so let's get into it.

The whole vibe of this enum? It's literally just a lil name-tag system. ttm_lru_item has subclasses, and this enum is the way we tell them apart. No cap, that's the entire plot πŸŽ€


✨ NAME ✨

enum ttm_lru_item_type β€” enumerate ttm_lru_item subclasses πŸ¦‹


🌸 SYNOPSIS 🌸

enum ttm_lru_item_type {
    TTM_LRU_RESOURCE ,
    TTM_LRU_HITCH

};

that's it, that's the whole thing. two constants, both living rent-free in the enum. iconic behavior honestly πŸ‘‘


πŸ’– Constants πŸ’–

  • TTM_LRU_RESOURCE β€” the resource subclass πŸ’… that's the one that's all about resources.
  • TTM_LRU_HITCH β€” the iterator hitch subclass 🌈 the hitch, but make it iterator.
fr fr the whole enum is just these two, so if you were bracing for a long list β€” nope. two items. we ate and left no crumbs.

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./include/drm/ttm/ttm_resource.h β€” go say hi to it, it's the source of truth πŸ’œ

and here's the whole friend group, in the order they were introduced, because we don't skip anyone in this house 🫢

like, that's a packed SEE ALSO section. main character energy from every single one of them ngl ⭐


so yeah, that's the page πŸ’– it shipped out from ./include/drm/ttm back in October 2026, and it's been slaying ever since. go forth, tell your subclasses apart, and remember β€” TTM_LRU_RESOURCE and TTM_LRU_HITCH, that's the whole roster. periodt. πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from