radeon_vm_flush(9)
β¨ radeon_vm_flush(9) β¨
okay so bestie, we're deep in the Kernel API Manual today and the vibe is very radeon GPU driver core π
this is radeon_vm_flush(9) and yes she's iconic, yes she's a one-function girlie, and yes she's about to make your VM do the thing π¦
πΈ NAME πΈ
radeon_vm_flush β hardware flush the vm, periodt π
like, literally the hardware does the flushing, not you, not me, the hardware π₯
β SYNOPSIS β
void radeon_vm_flush (struct radeon_device *rdev , struct radeon_vm *vm
, int ring , struct radeon_fence *updates );
no cap, that's the whole signature, copy it exactly, don't "fix" the spacing, she's perfect as she is π
π ARGUMENTS π
bestie here's the group chat roster, every single one of them matters:
rdevβ radeon_device pointer, the main character pointer, the whole device energy πvmβ vm we want to flush, that's the one, that's the vibe check target πringβ ring to use for flush, you gotta pick which ring does the work βupdatesβ last vm update that is waited for, so she waits, then she flushes, iykyk π«Ά
π DESCRIPTION π
Flush the vm (cayman+). β¨
that's it, that's the whole description, she's lowkey concise and I respect it fr fr
but WAIT β big warning energy incoming π:
Global and local mutex must be locked! both of them. locked. before you call this. not one, not the other, both. no exceptions bestie, this is not a drill π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/radeon/radeon_vm.cβ that's where she lives, go say hi π 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_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)radeon_vm_fini(9)
that's 21 siblings and every single one of them made the list, we don't cut anyone from the group chat π«Άπ
mwah π that's the whole page! shoutout to ./drivers/gpu/drm/radeon for the source home, to October 2026 for the date stamp, and to radeon_vm_flush(9) herself for staying so gorgeously to the point πβ¨ see you in the next manpage bestie, stay flushed π
π¦ 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