radeon_vm_fini(9)
π radeon_vm_fini β tear down a vm instance
okay so bestie, welcome to radeon_vm_fini(9), part of the Kernel API Manual β¨ this is the little cleanup queen of the radeon VM world β she shows up at the end of the party and takes the whole thing down. π
πΈ SYNOPSIS πΈ
void radeon_vm_fini (struct radeon_device *rdev , struct radeon_vm *vm );
no return value, no drama, she just does the thing and dips. π
π¦ ARGUMENTS π¦
rdevβ aradeon_devicepointer, aka your lil' ticket to the radeon device in question π«Άvmβ the requested vm, the exact one you want torn down, no substitutes allowed
π DESCRIPTION π
Tear down vm (cayman+). π§
So what actually happens? She unbinds the VM and removes all bos from the vm bo list β like cleaning out your entire camera roll in one go, iconic behaviour honestly. π₯
ngl this one's a cayman+ situation specifically, so don't come for her about older chips, she said what she said π
β SEE ALSO β
Kernel file ./drivers/gpu/drm/radeon/radeon_vm.c β go read the source, iykyk π
the whole vm friend group, in the order the manpage introduced them:
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_bo_update(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)
and that's the whole page bestie, 10/10 cleanup energy, no notes π
signing off from ./drivers/gpu/drm/radeon, dated October 2026, brought to you by the radeon_vm_fini(9) girlies πβ¨
π¦ 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