amdgpu_vm_bo_clear_mappings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– amdgpu_vm_bo_clear_mappings(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to amdgpu_vm_bo_clear_mappings(9) from the Kernel API Manual. This page is giving β€œremove all mappings in a specific range,” and honestly? iconic. πŸ’…


🌸 NAME 🌸

amdgpu_vm_bo_clear_mappings β€” remove all mappings in a specific range 🫢

✨ SYNOPSIS ✨

int amdgpu_vm_bo_clear_mappings (struct amdgpu_device *adev , struct amdgpu_vm *vm , uint64_t saddr , uint64_t size );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” amdgpu_device pointer. that's the device pointer, periodt. 🫢
  • vm β€” VM structure to use. yes ma'am, the actual VM structure. ✨
  • saddr β€” start of the range. where the range begins, no cap. πŸ’…
  • size β€” size of the range. how big the range is. πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove all mappings in a range, split them as appropriate. That's the assignment bestie: range in, mappings removed, splitting done as appropriate. Lowkey straightforward, highkey important. πŸ’€

🌈 RETURN 🌈

0 for success, error for failure. So if you get 0, slay; if not, you got an error. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c says hi, and here's the whole crew:

and that's the whole page, bestie πŸ’‹ β€” source/version situation is ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the manual page name is amdgpu_vm_bo_clear_mappings(9). go clear those mappings responsibly 🫢

πŸ“¦ where this page comes from