pvr_ioctl_de...y_vm_context(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is pvr_ioctl_destroy_vm_context β€” literally the IOCTL to destroy a VM context β€” and it's chilling in the Kernel API Manual. that's the whole vibe: destroy the VM context. iconic. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, verbatim, because we do not mess with code:

int pvr_ioctl_destroy_vm_context (struct drm_device *drm_dev , void *raw_args , struct drm_file *file );

🌸 ARGUMENTS 🌸

  • drm_dev β€” [IN] DRM device. yes bestie, the DRM device.
  • raw_args β€” [IN] Arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_destroy_vm_context_args. that exact struct, no substitutions 🫢
  • file β€” [IN] DRM file private data.

Called from userspace with DRM_IOCTL_PVR_DESTROY_VM_CONTEXT. πŸ’…

πŸ’– RETURN πŸ’–

  • 0 on success, or
  • -EINVAL if object not in object list.

so: success gives you 0, and if the object is not in the object list you get -EINVAL. periodt. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’– source/version: ./drivers/gpu/drm/imagination Β· date: October 2026 β€” stay iconic, bestie, and go read those SEE ALSO pages. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from