xe_bo_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_bo_free(9) β€” the kernel API manual, bestie edition πŸ’–

okay so welcome to xe_bo_free(9), straight out of the Kernel API Manual, and honestly? this one's short and sweet. it's the cleanup girlie of the xe_bo family πŸŽ€


✨ NAME ✨

xe_bo_free β€” frees up storage that was allocated with xe_bo_alloc() πŸ—‘οΈβœ¨

like, you know how xe_bo_alloc() hands you a buffer object and you're all "omg thank you"? yeah, this is the part where you give it back. balanced. iconic. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void xe_bo_free (struct xe_bo *bo );

returns nothing (void), takes exactly one thing, and that one thing is the bo. that's the whole vibe check 🌸


🌈 ARGUMENTS 🌈

  • bo β€” the buffer object storage 🫢 this is the thing you're freeing, the main character of the whole operation tbh

⭐ DESCRIPTION ⭐

here's the tea: the actual valid use-cases live in the xe_bo_alloc documentation πŸ“– so if you're like "wait, when am I even allowed to do this??" β€” go read that one first, bestie. this page is not the lore drop for that, it's genuinely just pointing you at the right page. iykyk πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the big one, brace yourself, it's giving extended family group chat 😭 literally everyone is here:

kernel file ./drivers/gpu/drm/xe/xe_bo.c, plus xe_bo_has_single_placement(9), xe_bo_is_stolen_devmem(9), xe_bo_is_vm_bound(9), xe_bo_pin_account(9), xe_bo_unpin_account(9), xe_bo_is_visible_vram(9), xe_bo_move_notify(9), xe_bo_set_purgeable_shrinker(9), xe_bo_set_purgeable_state(9), xe_ttm_bo_purge(9), xe_bo_shrink(9), xe_bo_notifier_prepare_pinned(9), xe_bo_notifier_unprepare_pinned(9), xe_bo_evict_pinned(9), xe_bo_restore_pinned(9), xe_bo_read(9), xe_bo_alloc(9), xe_bo_init_locked(9), xe_bo_create_locked(9), xe_bo_create_user(9), xe_bo_create_pin_range_novm(9), xe_bo_create_pin_map_at_novm(9), xe_bo_create_pin_map(9), xe_bo_create_pin_map_novm(9), xe_managed_bo_reinit_in_vram(9), xe_bo_pin_external(9), xe_bo_pin(9), xe_bo_unpin_external(9), xe_bo_validate(9), xe_bo_decompress(9), xe_bo_lock(9), xe_bo_unlock(9), xe_bo_can_migrate(9), xe_bo_migrate(9), xe_bo_evict(9), xe_bo_needs_ccs_pages(9), __xe_bo_release_dummy(9), xe_bo_put_commit(9), xe_bo_dev_init(9), xe_bo_dev_fini(9), xe_bo_dumb_create(9) πŸ’€

like i said. everyone. πŸ”₯


and that's the page!! this little cutie comes to you from ./drivers/gpu/drm/xe, stamped October 2026, and yes the footer still says xe_bo_free(9) because we're keeping it official ✨ go forth and free responsibly, bestie πŸ§šπŸ’–

πŸ“¦ where this page comes from