amdgpu_vm_free_mapping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ amdgpu_vm_free_mapping(9) β€” Kernel API Manual πŸ¦‹

okay so bestie, this is the amdgpu_vm_free_mapping(9) page from the Kernel API Manual, and it’s literally the β€œfree a mapping” helper. Short page, iconic energy, every detail intact. πŸ’…

πŸŽ€ NAME πŸŽ€

amdgpu_vm_free_mapping β€” free a mapping.

✨ SYNOPSIS ✨

void amdgpu_vm_free_mapping (struct amdgpu_device *adev , struct
amdgpu_vm *vm , struct amdgpu_bo_va_mapping *mapping , struct dma_fence
*fence );

🧚 ARGUMENTS 🧚

  • adev β€” the amdgpu_device pointer. device bestie energy.
  • vm β€” the requested vm. requested vm, exactly as it says.
  • mapping β€” the mapping to be freed. We’re freeing this one, periodt.
  • fence β€” the fence of the unmap operation. unmap fence, noted.

🌸 DESCRIPTION 🌸

So this function frees a mapping and makes sure to decrease the PRT usage count if applicable. That’s the whole vibe: mapping gets freed, PRT usage count goes down when it applies. 🫢

🌈 SEE ALSO 🌈

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

Also, the whole friend group:


made with πŸ’– from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, tagged amdgpu_vm_free_mapping(9) β€” slay, you’re all caught up. πŸŽ€

πŸ“¦ where this page comes from