ttm_prot_from_caching(9)
π 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
- 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