xe_ttm_stol...s_needs_ggtt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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