xe_sa_bo_swap_shadow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_sa_bo_swap_shadow(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function page but she's got main character energy, so let's get into it 🫢


✨ NAME ✨

xe_sa_bo_swap_shadow β€” literally swaps the SA BO with the shadow BO. that's it. that's the whole vibe πŸ’«


πŸ¦‹ SYNOPSIS πŸ¦‹

void xe_sa_bo_swap_shadow (struct xe_sa_manager *sa_manager );

no return value, no drama, just a void function doing her thing πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • sa_manager β€” the XE sub allocator manager πŸ‘‘ this is the one and only thing you hand her, and she's the boss of the whole sub-allocator situation.

🌸 DESCRIPTION 🌸

so what she actually does, no cap: she swaps the sub-allocator's primary buffer object with the shadow buffer object πŸ”₯ that's the entire plot. the primary BO and the shadow BO trade places, and she's the one making it happen ✨

ngl it's giving "quiet but essential" β€” like the friend who swaps seats so the group chat can sit together πŸ™ˆ


⭐ RETURN ⭐

None. she returns nothing. zero. nada. void. she simply does the swap and dips πŸ˜ŒπŸ’œ


🌈 SEE ALSO 🌈

go touch some of her friends, they're all in the kernel file ./drivers/gpu/drm/xe/xe_sa.c πŸ“:

iykyk, the whole sub-allocator friend group is iconic πŸ‘‘


fr fr, this page is short but she ate πŸ’€ don't sleep on the little functions, bestie πŸ“

and that's a wrap, bestie 🧚 from ./drivers/gpu/drm/xe, dated October 2026, this has been xe_sa_bo_swap_shadow(9) β€” stay slay, stay synchronized πŸ’–βœ¨

πŸ“¦ where this page comes from