pvr_ioctl_create_vm_context(9)
π pvr_ioctl_create_vm_context(9) π
ok so bestie, welcome to the Kernel API Manual entry for pvr_ioctl_create_vm_context β yep that's the whole title, it's giving very "my function name is longer than my will to live" energy but we move π
β¨ NAME β¨
pvr_ioctl_create_vm_context β the IOCTL that creates a VM context. that's it. that's the whole vibe. short, sweet, iconic π
π¦ SYNOPSIS π¦
int pvr_ioctl_create_vm_context (struct drm_device *drm_dev , void
*raw_args , struct drm_file *file );
like, look at her. three args, one int return, absolutely no notes π
πΈ ARGUMENTS πΈ
drm_devβ[IN]the DRM device, aka the whole reason we're here. she's the main character π₯raw_argsβ[IN/OUT]the arguments passed to this IOCTL. heads up bestie: this must be of typestruct drm_pvr_ioctl_create_vm_context_args. not optional, no cap, don't try to sneak something else in there πfileβ[IN]the DRM file private data. yes it's private. mind your business but also here's the pointer π
β DESCRIPTION β
so the way this works: userspace calls this bad boy via DRM_IOCTL_PVR_CREATE_VM_CONTEXT. that's the whole description, she's a woman of few words and honestly? respect π«Ά
π RETURN π
0on success β slay β¨- any error returned by
pvr_vm_create_contextβ aka if the underlying call is going through it, that energy gets passed straight back to you π
ngl, this function doesn't invent its own errors. it just forwards whatever pvr_vm_create_context hands it. so if you're debugging, that's your next stop, iykyk π
π SEE ALSO π
the whole friend group, fr fr:
- Kernel file
./drivers/gpu/drm/imagination/pvr_drv.c - PowerVR (Series 6 and later) and IMG Graphics Driver(9)
pvr_ioctl_create_bo(9)pvr_ioctl_get_bo_mmap_offset(9)pvr_dev_query_gpu_info_get(9)pvr_dev_query_runtime_info_get(9)pvr_dev_query_quirks_get(9)pvr_dev_query_enhancements_get(9)pvr_ioctl_dev_query(9)pvr_ioctl_create_context(9)pvr_ioctl_destroy_context(9)pvr_ioctl_create_free_list(9)pvr_ioctl_destroy_free_list(9)pvr_ioctl_create_hwrt_dataset(9)pvr_ioctl_destroy_hwrt_dataset(9)pvr_ioctl_destroy_vm_context(9)pvr_ioctl_vm_map(9)pvr_ioctl_vm_unmap(9)pvr_drm_driver_open(9)pvr_drm_driver_postclose(9)
and that's the page!! mwah π this little gem lives at ./drivers/gpu/drm/imagination, it's stamped October 2026, and it answers to the name pvr_ioctl_create_vm_context(9) β go forth and create those VM contexts, bestie, you've got this ππ
π¦ 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