pvr_drm_driver_open(9)
π NAME π
okay so bestie, this is the pvr_drm_driver_open(9) page from the Kernel API Manual β and the whole vibe is: pvr_drm_driver_open is the driver callback for when a new &struct drm_file is opened. It's literally the "new file just dropped" moment. π
β¨ SYNOPSIS β¨
int pvr_drm_driver_open (struct drm_device *drm_dev , struct drm_file
*file );
That's the signature, no edits, no cap.
π ARGUMENTS π
drm_devβ[IN]DRM device. The device in question, marked input.fileβ[IN]DRM file private data. The per-file private-data situation, marked input.
π DESCRIPTION π
This callback allocates the powervr-specific file private data β literally a struct pvr_file, periodt. It's registered in pvr_drm_driver, so that's where it gets hooked in. π«Ά
π RETURN π
0on success β iconic.-ENOMEMif the allocation of astruct ipvr_filefails β yes bestie, the return section saysstruct ipvr_file; keep your eyes on the exact name. π- Any error returned by
pvr_memory_context_initβ whatever that error is, it comes through.
π SEE ALSO π
- 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_create_vm_context(9)pvr_ioctl_destroy_vm_context(9)pvr_ioctl_vm_map(9)pvr_ioctl_vm_unmap(9)pvr_drm_driver_postclose(9)
okay that's the page, bestie! source/version cuteness: ./drivers/gpu/drm/imagination β and the date stamp says October 2026. 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