amdgpu_vm_handle_moved(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ amdgpu_vm_handle_moved(9) β€” Kernel API Manual, bestie edition ✨

Okay so picture this: you're deep in the kernel, the manual is literally called amdgpu_vm_handle_moved(9), and it's about making sure the BOs that got moved actually show up correctly in the PTs. That's the whole vibe. Let's go 🫢


🌸 NAME 🌸

amdgpu_vm_handle_moved β€” handle moved BOs in the PT


πŸŽ€ SYNOPSIS πŸŽ€

int amdgpu_vm_handle_moved (struct amdgpu_device *adev , struct
       amdgpu_vm *vm , struct ww_acquire_ctx *ticket );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the amdgpu_device pointer, your classic device handle, iconic πŸ’…
  • vm β€” the vm you're asking for, the requested vm
  • ticket β€” an optional reservation ticket used to reserve the VM

✨ DESCRIPTION ✨

So what does it actually do? It makes sure all BOs which are moved are updated in the PTs. Every single one. No cap.

🚨 PTs have to be reserved! Like, this is not a suggestion, bestie β€” that's a hard requirement. Reserved PTs or nothing.

πŸ”₯ RETURN πŸ”₯

0 for success. That's it. That's the whole return section. Slay 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c β€” and honestly the whole friend group is here, so let's shout them out one by one πŸ’–


Okay that's the whole page, and before you close the tab: this lil' cutie lives in ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and it's part of the Kernel API Manual. Byeeee, go reserve those PTs πŸ’…βœ¨

πŸ“¦ where this page comes from