pvr_ioctl_create_context(9)
π pvr_ioctl_create_context(9) β from the Kernel API Manual, bestie
okay so hear me out: this is a page about pvr_ioctl_create_context, and it's literally the IOCTL that spins up a whole new context. main character energy fr fr. let's get into it π
β¨ NAME β¨
pvr_ioctl_create_context β the IOCTL that creates a context. that's it, that's the vibe π
πΈ SYNOPSIS πΈ
int pvr_ioctl_create_context (struct drm_device *drm_dev , void
*raw_args , struct drm_file *file );
three args, one int coming back at you, no cap π«Ά
π¦ ARGUMENTS π¦
drm_devβ [IN] the DRM device. the whole device. iconic.raw_argsβ [IN/OUT] the arguments passed to this IOCTL, and heads up bestie, this one must be of typestruct drm_pvr_ioctl_create_context_args. like, non-negotiable πfileβ [IN]</color> the DRM file private data. yes the private data. we love a private data moment π
π DESCRIPTION π
so this bad boy gets called from userspace with DRM_IOCTL_PVR_CREATE_CONTEXT. that's the whole description. short, sweet, slays β¨
π₯ RETURN π₯
what comes back, you ask? okay so:
0on success, or π-EINVALif the provided arguments are invalid, or π-EFAULTif the arguments can't be copied from userspace, or π- any error returned by
pvr_create_render_context. like, whatever that function decides to throw at you, you're getting it. periodt.
π SEE ALSO π
okay the friend group is LARGE and honestly every one of them ate:
- 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_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_create_vm_context(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)
go read them, iykyk π§
and that's the whole page bestie!! this lil guy lives in ./drivers/gpu/drm/imagination, and the version/date stamp on it is October 2026 β so yeah, it's from the future, we don't question it ππ¦ mwah, hope this helped, ily, go create some contexts πβ¨π
π¦ 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