pvr_vm_unmap(9)
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:
0on 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 π«Ά:
Memory context(9)struct pvr_vm_context(9)pvr_vm_get_page_table_root_addr(9)pvr_vm_get_dma_resv(9)Memory mappings(9)struct pvr_vm_gpuva(9)struct pvr_vm_bind_op(9)pvr_vm_bind_op_exec(9)pvr_vm_gpuva_map(9)pvr_vm_gpuva_unmap(9)pvr_vm_gpuva_remap(9)pvr_device_addr_is_valid(9)pvr_device_addr_and_size_are_valid(9)pvr_vm_create_context(9)pvr_vm_context_release(9)pvr_vm_context_lookup(9)pvr_vm_context_put(9)pvr_destroy_vm_contexts_for_file(9)pvr_vm_map(9)pvr_vm_unmap_obj_locked(9)pvr_vm_unmap_obj(9)pvr_vm_unmap_all(9)pvr_heap_contains_range(9)pvr_find_heap_containing(9)pvr_vm_find_gem_object(9)pvr_vm_get_fw_mem_context(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms