ENUM TTM_CACHING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ttm_caching(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the enum ttm_caching(9) page from the Kernel API Manual. this one is short and sweet: it's all about the CPU caching + BUS snooping vibe. no cap, every constant matters here, so let's go ✨

πŸŽ€ NAME πŸŽ€

enum ttm_caching β€” CPU caching and BUS snooping behavior. literally the whole mood.

✨ SYNOPSIS ✨

enum ttm_caching {
    ttm_uncached ,
    ttm_write_combined ,
    ttm_cached

};

🌸 Constants 🌸

  • ttm_uncached β€” the most defensive option for device mappings. it does not even allow write combining. super cautious energy πŸ›‘οΈ
  • ttm_write_combined β€” don't cache read accesses, but it allows at least writes to be combined. reads stay uncached, writes can combine, okayyy πŸ’…
  • ttm_cached β€” fully cached like normal system memory. requires that devices snoop the CPU cache on accesses. full main-character caching, but only if the snooping is there πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/drm/ttm/ttm_caching.h β€” that's the bestie to go read next, periodt.


mwah πŸ’‹ this page is from ./include/drm/ttm, dated October 2026, and it's the enum ttm_caching(9) page. bye bestie 🫢

πŸ“¦ where this page comes from