xe_vm_has_scratch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_vm_has_scratch(9)

okay so this is a page straight out of the Kernel API Manual, and honestly? it's a tiny little icon and i'm obsessed with how simple it is.


✨ NAME ✨

xe_vm_has_scratch β€” literally just tells you whether the vm is configured for scratch PTEs. that's it. that's the whole vibe check. 🫢


🌸 SYNOPSIS 🌸

bool xe_vm_has_scratch (const struct xe_vm *vm );

one function, one argument, returns a bool. short and sweet, no cap. πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • vm β€” The vm. that's the whole description bestie, the manpage is being very main-character-minimal about it. it's a const struct xe_vm *, so like, nobody's mutating it on your watch. πŸ”₯

πŸ¦‹ RETURN πŸ¦‹

returns whether the vm populates unmapped areas with scratch PTEs. like, is it filling in the blank spots with scratch pages or nah? that's the whole answer. ✨

ngl this page is short enough that there's zero excuse to not read all of it. iykyk.

πŸ’œ SEE ALSO πŸ’œ

okay this is where it goes OFF, look at this list, we're linking the whole friend group:

and yeah, that third one really does look like that in the original β€” i'm not touching it, that's between the manpage and god. πŸ’€


okay that's the whole page, ily, go read xe_vm.h πŸ’…βœ¨

this cutie came out of ./drivers/gpu/drm/xe, dated October 2026 β€” see you there, bestie! πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from