xe_bo_is_visible_vram(9)
π xe_bo_is_visible_vram(9) π
okay bestie, welcome to the Kernel API Manual entry for xe_bo_is_visible_vram(9) β yes that's the manpage name, yes it's a mouthful, we're doing it anyway π«Ά
β¨ NAME β¨
xe_bo_is_visible_vram β the lil vibe-check function that tells you if a BO is placed entirely in visible VRAM π
πΈ SYNOPSIS πΈ
bool xe_bo_is_visible_vram (struct xe_bo *bo );
π ARGUMENTS π
boβ the BO in question π literally the buffer object we're checking on. it's the main character here.
π¦ DESCRIPTION π¦
so here's the tea: this function checks whether a given BO resides entirely in memory that's visible from the CPU β¨
that's it. that's the whole bit. it looks at the BO and is like "are you, fully and completely, in CPU-visible memory or not" π no cap, no half-measures β entirely is doing a lot of work in that sentence, so respect it π₯
π RETURN π
trueβ slay, the BO is entirely visible πfalseβ nope, it's not, and that's fine too π«Ά
β SEE ALSO β
the whole friend group lives in the kernel file ./drivers/gpu/drm/xe/xe_bo.c, and honestly the roster is long, so buckle up bestie π
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_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_init(9)xe_bo_dev_fini(9)xe_bo_dumb_create(9)
ngl that's a lot of siblings. go say hi to at least three of them or the manpage gets sad π
π mwah, that's a wrap! this lil page lives in the ./drivers/gpu/drm/xe directory, it's dated October 2026, and it came to you from the kernel's very own manpage source β catch you on the next one, 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