xe_bo_notif...epare_pinned(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_bo_notif...epare_pinned(9) β€” Kernel API Manual ✨

okay bestie, welcome to the <cyan>xe_bo_notif...epare_pinned</cyan> page, straight out of the Kernel API Manual, no cap 🫢 this one's short and sweet and honestly kind of a vibe.


πŸŽ€ NAME πŸŽ€

xe_bo_notifier_unprepare_pinned β€” the undo button for the prepare operation. literally just cleanup duty, and it does it flawlessly πŸ’…


✨ SYNOPSIS ✨

int xe_bo_notifier_unprepare_pinned (struct xe_bo *bo );

🌸 ARGUMENTS 🌸

  • bo β€” the buffer object we're undoing the prepare for. that's it, that's the whole argument list, she's low maintenance πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so real talk: this function always returns 0. always. every time. iconic consistency, honestly πŸ‘‘

The backup object gets removed, if it's still present β€” so if it's already gone, no drama, nothing happens.

The expectation (and yes the original says "Expectation it that", we're keeping the vibe) is that you call this from the PM notifier when you're undoing the prepare step. it's the "jk, revert, never mind" of the PM notifier world 😭


⭐ RETURN ⭐

Always returns 0. fr fr. zero. nothing else. the most well-behaved return value in the whole kernel 🌈


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/xe/xe_bo.c β€” and here's the whole friend group, every single one of them, no gatekeeping:


source: ./drivers/gpu/drm/xe Β· date: October 2026 Β· and that's the whole page, bestie β€” go undo that prepare, ily, bye πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from