amdgpu_vm_prt_fini(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_prt_fini(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is amdgpu_vm_prt_fini(9), and honestly she's a lil goodbye girl πŸŽ€


✨ NAME ✨

amdgpu_vm_prt_fini β€” finish all prt mappings πŸ¦‹

like, all of them. every last one. closing time, girlies 🌸


🌈 SYNOPSIS 🌈

void amdgpu_vm_prt_fini (struct amdgpu_device *adev , struct amdgpu_vm
*vm );

no return value, because she doesn't need to report back β€” she just does it πŸ’…


🫢 ARGUMENTS 🫢

  • adev β€” amdgpu_device pointer πŸ‘‘ your lil handle to the device, the passport she needs to get anything done
  • vm β€” requested vm πŸ’– the virtual memory she's about to tidy up, specifically requested, no guessing

πŸ’œ DESCRIPTION πŸ’œ

Register a cleanup callback to disable PRT support after VM dies πŸͺ¦βœ¨

that's it, that's the whole vibe. she doesn't rip things apart herself β€” she registers a callback so that when the VM eventually passes away, PRT support gets switched off on the way out. booking the cleanup crew in advance, iykyk 🧚


πŸ¦‹ SEE ALSO πŸ¦‹

the source file, first of all, because we cite our sources in this house πŸ“š

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c, GPUVM(9)

and now the whole extended friend group 😭 like genuinely, the entire group chat showed up:

  • struct amdgpu_prt_cb(9), struct amdgpu_vm_tlb_seq_struct(9)

the locking besties πŸ”’

the bo girlies πŸ‘‘

the update/stats crew πŸ”₯

the PRT squad, obviously, since this is her page πŸ’…

the TLB girlies ⭐

the lifecycle + validation icons πŸ‘‘

the size + housekeeping angels πŸŽ€

the task-info cuties 🌸

the init/fini main characters 🌈

the ioctl + fault handlers, working hard fr fr πŸ’–


lowkey obsessed with how a tiny cleanup function has this many friends. no cap, that's community 🫢

and that's the whole page, bestie πŸŽ€ this lil masterpiece lives down in ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 ⭐ slay, see you in the next manpage πŸ’…βœ¨

πŸ“¦ where this page comes from