radeon_vm_bo_update(9)
β¨ radeon_vm_bo_update(9) β¨
okay so bestie, welcome to the kernel API manual, this one's from the radeon_vm_bo_update(9) page π
and it's literally all about mapping a bo into the vm page table. yes i said bo. we're being technical and cute today π
π NAME π
radeon_vm_bo_update β map a bo into the vm page table
πΈ SYNOPSIS πΈ
int radeon_vm_bo_update (struct radeon_device *rdev , struct
radeon_bo_va *bo_va , struct ttm_resource *mem );
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer, you know the vibe πbo_vaβ the radeon buffer virtual address object, main character energy frmemβ the ttm mem, no cap
β¨ DESCRIPTION β¨
So what it does: it fills in the page table entries for bo (cayman+). that's literally the whole moment π it returns 0 for success, and -EINVAL for failure. periodt.
β οΈ okay important warning bestie: the object have to be reserved and mutex must be locked! like do not skip that step, i'm begging π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/radeon/radeon_vm.c β and the whole friend group:
radeon_vm_num_pdes(9)radeon_vm_directory_size(9)radeon_vm_manager_init(9)radeon_vm_manager_fini(9)radeon_vm_get_bos(9)radeon_vm_grab_id(9)radeon_vm_flush(9)radeon_vm_fence(9)radeon_vm_bo_find(9)radeon_vm_bo_add(9)radeon_vm_set_pages(9)radeon_vm_clear_bo(9)radeon_vm_bo_set_addr(9)radeon_vm_map_gart(9)radeon_vm_page_flags(9)radeon_vm_update_page_directory(9)radeon_vm_frag_ptes(9)radeon_vm_update_ptes(9)radeon_vm_fence_pts(9)radeon_vm_clear_freed(9)radeon_vm_clear_invalids(9)radeon_vm_bo_rmv(9)radeon_vm_bo_invalidate(9)radeon_vm_init(9)radeon_vm_fini(9)
that's the whole glossary bestie, go read them all, i know you will π
signed, sealed, delivered with love from ./drivers/gpu/drm/radeon β dated October 2026, version radeon_vm_bo_update(9), slay ππ«Ά
π¦ 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