xe_bo_evict_pinned(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_bo_evict_pinned(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, this is a page from the Kernel API Manual (yes, the xe_bo_evict_pinned(9) one, iykyk) and it's honestly iconic. it's a little function with one job and it does it. let's get into it ✨


🌸 NAME 🌸

xe_bo_evict_pinned β€” evict a pinned VRAM object to system memory, no cap 🫢


✨ SYNOPSIS ✨

int xe_bo_evict_pinned (struct xe_bo *bo );

that's it. that's the whole signature. slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bo β€” the buffer object to move. literally just the bo that's getting relocated, that's the whole vibe πŸŽ€

πŸ’– DESCRIPTION πŸ’–

so when this call finishes successfully, the object's memory has been moved over to system memory. periodt. πŸ’€

and why do we even need this? because pinned VRAM objects need special handling during suspend-resume πŸ”₯ like, they get their own little moment, and this function is it. main character energy fr fr.


πŸ‘‘ RETURN πŸ‘‘

  • 0 on success 🌈
  • a negative error code on failure 😭

πŸ’œ SEE ALSO πŸ’œ

ngl, this is the part where the whole friend group shows up πŸ’… β€” the kernel file is ./drivers/gpu/drm/xe/xe_bo.c and here's every single one of its besties:


πŸ’€ gentle reminder bestie: read the whole list, there's like forty of them and every single one matters. don't skip. 🫢

okay that's the page!! this one came from ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_bo_evict_pinned(9) obvi. go forth and evict those pinned VRAM objects responsibly βœ¨πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from