xe_bo_dev_init(9)
π xe_bo_dev_init(9) β like, the whole glow-up guide π
okay so real talk: this is a page straight out of the Kernel API Manual, and it's about xe_bo_dev_init(9). yes bestie, we're doing kernel internals today and we're gonna slay it π«Ά
β¨ NAME β¨
xe_bo_dev_init β sets up the BO dev so that async BO freeing actually has somewhere to live π
Think of it as: you're giving the BO dev its little management era. Iconic. Necessary. Do not skip.
πΈ SYNOPSIS πΈ
void xe_bo_dev_init (struct xe_bo_dev *bo_dev );
That's it. That's the whole vibe. It returns void, so there's literally nothing to check afterwards β it just does the thing and hands you back nothing. No cap.
π ARGUMENTS π
bo_devβ the BO dev structure π this is the main character of the function; it's the thing that gets initialized. Pass it in and let it become its best self.
π¦ SEE ALSO π¦
bestie. there are so many siblings. grab a snack, this is a whole family reunion π
Oh, and before the list β quick heads up, it's all documented in the Kernel file ./drivers/gpu/drm/xe/xe_bo.c. That's the source of truth, go touch grass there if you need more.
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_free(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_fini(9)xe_bo_dumb_create(9)
Like I said. Whole. Family. Reunion. π
π friendly reminder:xe_bo_dev_fini(9)is right there at the end of that list β it's the counterpart to this function, so when you're done initializing, that's where you go to wrap up. (And yes, the source lives in./drivers/gpu/drm/xe/xe_bo.c, in case you forgot already π)
okay and that's the page!! mwah π this came from ./drivers/gpu/drm/xe, dated October 2026 β so go forth, initialize those BO devs, and remember: async BO freeing doesn't manage itself, bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms