amdgpu_vm_update_shared(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– amdgpu_vm_update_shared(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for amdgpu_vm_update_shared(9) β€” it's giving tiny helper with big lock energy πŸ’…βœ¨


✨ NAME ✨

amdgpu_vm_update_shared β€” helper to update shared memory stat 🫢


🌸 SYNOPSIS 🌸

void amdgpu_vm_update_shared (struct amdgpu_vm_bo_base *base );

πŸŽ€ ARGUMENTS πŸŽ€

  • base β€” base structure for tracking BO usage in a VM πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

so the way this works: it takes the vm stats_lock and updates the shared memory stat πŸ”’βœ¨

and listen, if the basic stat changed (e.g. a buffer was moved), then amdgpu_vm_update_stats also needs to be called as well β€” no skipping that step, bestie 😭🫢


πŸ”₯ SEE ALSO πŸ”₯

the manpage squad says also peep these:


mwah πŸ’‹ source/version: ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” slay, go read the kernel code bestie πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from