xe_bo_is_stolen_devmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_bo_is_stolen_devmem(9) β€” a Kernel API Manual moment

okay so this is a page from the Kernel API Manual, and it's about the very iconic xe_bo_is_stolen_devmem ✨


🌸 NAME 🌸

xe_bo_is_stolen_devmem β€” bestie, this one checks whether a BO is the stolen type, aka the kind you get to through the PCI BAR πŸŽ€


✨ SYNOPSIS ✨

bool xe_bo_is_stolen_devmem (struct xe_bo *bo );

like, it takes a BO and hands you back a bool. that's it, that's the whole vibe πŸ¦‹


🫢 ARGUMENTS 🫢

  • bo β€” The BO. literally the buffer object we're doing a vibe check on πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜•: stolen memory gets accessed through the PCI BAR β€” and that's true for both DGFX and for some integrated platforms that have a dedicated bit in the PTE for devmem (DM). no cap, that's the whole mechanic 🌈


⭐ RETURN ⭐

it gives you true if it's stolen memory accessed via PCI BAR, and false otherwise. simple as that, periodt πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/gpu/drm/xe/xe_bo.c, and honestly the whole friend group is here β€” go say hi πŸ‘‘


ngl, that's a lot of cross-references, but every single one is real and every single one matters. no skipping, bestie πŸ“

so yeah, this page lives under ./drivers/gpu/drm/xe, it's from October 2026, and it ships with the Kernel API Manual β€” mwah, go read the source, ily, bye πŸ’‹πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from