ttm_prot_from_caching(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ttm_prot_from_caching(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this page is short, sweet, and lowkey iconic. It's giving "tiny function, very specific job" energy ✨

🌟 NAME 🌟

Modify the page protection according to the ttm cacing mode β€” yes, cacing, that's literally the spelling here 😭

✨ SYNOPSIS ✨

pgprot_t ttm_prot_from_caching (enum ttm_caching caching , pgprot_t tmp );

πŸŽ€ ARGUMENTS πŸŽ€

  • caching β€” the ttm caching mode, periodt πŸ’…
  • tmp β€” the original page protection, exactly what it sounds like 🫢

🌸 RETURN 🌸

The modified page protection. That's the vibe check result, bestie ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/ttm/ttm_module.c and TTM(9) β€” go look, iykyk πŸ‘‘


Sign-off: source/version is ./drivers/gpu/drm/ttm, date is October 2026, and this page is literally ttm_prot_from_caching(9) πŸ’–πŸŽ€

πŸ“¦ where this page comes from