xe_ttm_stol...s_needs_ggtt(9)
π xe_ttm_stolen_cpu_access_needs_ggtt(9) β from the Kernel API Manual, bestie π
okay so real talk, this one's from the Kernel API Manual and it's a whole function called xe_ttm_stolen_cpu_access_needs_ggtt β¨ lowkey love that for us.
πΈ NAME πΈ
xe_ttm_stolen_cpu_access_needs_ggtt β like, if we literally can't CPU access stolen directly, can we fallback to mapping through the GGTT? that's the whole question π
π¦ SYNOPSIS π¦
bool xe_ttm_stolen_cpu_access_needs_ggtt (struct xe_device *xe );
she returns a bool, she takes one arg, she's iconic, periodt π
π ARGUMENTS π
xeβ the xe device. that's it. that's the arg. the main character of this entire function fr fr π«Ά
π DESCRIPTION π
okay so picture this: some older integrated platforms are NOT it when it comes to reliable CPU access for stolen π like they just can't do it, no cap.
but here's the slay β on that kind of hardware we can always use the mappable part of the GGTT for CPU access π so it's giving "we found a way."
so this function just checks if that's the case for this device π vibe check on the hardware, basically. xe walks in, gets checked, and we find out whether the GGTT fallback situation applies β¨
lowkey important: this is about older integrated platforms not supporting reliable CPU access for stolen β the GGTT fallback is the whole point of the check, so don't skip it π
π§ SEE ALSO π§
- Kernel file
./drivers/gpu/drm/xe/xe_ttm_stolen_mgr.cβ go read the source bestie, it's right there π₯
π sign-off π
so that's the tea β this page lives in ./drivers/gpu/drm/xe, dated October 2026, and it's giving extremely niche kernel docs energy and we're obsessed π bye bestie, go check your GGTT π¦β¨
π¦ 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