pvr_vm_unmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hii bestie πŸ’– welcome to pvr_vm_unmap(9) from the Kernel API Manual β€” okay so this is the page for unmapping a section of device-virtual memory that’s already mapped. it’s giving β€œthat mapping had its moment, now it’s exiting stage left” energy ✨

πŸ’… NAME

pvr_vm_unmap β€” unmap an already mapped section of device-virtual memory. lowkey the cleanup icon, no cap πŸ’…

✨ SYNOPSIS ✨

int pvr_vm_unmap (struct pvr_vm_context *vm_ctx , u64 device_addr , u64 size );

πŸŽ€ ARGUMENTS πŸŽ€

  • vm_ctx β€” target VM context. the VM context we’re working in, bestie 🫢
  • device_addr β€” virtual device address at the start of the target mapping. that’s the starting point of the target section, periodt ✨
  • size β€” size of the target mapping. how big the mapping is, fr fr πŸŽ€

🌈 RETURN 🌈

vibe check on the return values:

  • 0 on success β€” slay, we love a clean win πŸ’–
  • Any error encountered by drm_gpuva_find β€” if that call runs into an error, it comes through here, no cap πŸ™ˆ
  • Any error encountered by pvr_vm_unmap_obj_locked β€” and any error from this call comes through too πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/imagination/pvr_vm.c β€” the source file, front and center. and here’s the whole related-pages friend group, iykyk 🫢:

byeee 🫢 this page comes from the ./drivers/gpu/drm/imagination source/version, dated October 2026, and it’s pvr_vm_unmap(9) signing off β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from