pvr_ioctl_create_bo(9)
π NAME π
pvr_ioctl_create_bo β the IOCTL that creates a GEM buffer object, and yes bestie, this is the Kernel API Manual page for pvr_ioctl_create_bo(9). Main-character syscall energy only π
β¨
π¦ SYNOPSIS π¦
int pvr_ioctl_create_bo (struct drm_device *drm_dev , void *raw_args ,
struct drm_file *file );
πΈ ARGUMENTS πΈ
drm_devβ [IN] the target DRM device. Thatβs the vibe check target π―raw_argsβ [IN/OUT] the arguments passed to this IOCTL. This must be of typestruct drm_pvr_ioctl_create_bo_args, no substitutions bestie π«Άfileβ [IN] the DRM file-private data. Very private. Very file. Very DRM. π
β¨ DESCRIPTION β¨
This one gets called from userspace with DRM_IOCTL_PVR_CREATE_BO β thatβs literally the whole description, and honestly? Iconic. π
π₯ RETURN π₯
0on success π-EINVALif the value ofdrm_pvr_ioctl_create_bo_args.sizeis zero or wider thantypedef size_t-EINVALif any bits indrm_pvr_ioctl_create_bo_args.flagsthat are reserved or undefined are set-EINVALif any padding fields indrm_pvr_ioctl_create_bo_argsare not zero- Any error encountered while creating the object (see
pvr_gem_object_create), or - Any error encountered while transferring ownership of the object into a userspace-accessible handle (see
pvr_gem_object_into_handle)
Fr fr, those -EINVAL cases are the βcheck ur args before u come at meβ squad π Keep reserved flags and padding clean, bestie.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/imagination/pvr_drv.c, plus PowerVR (Series 6 and later) and IMG Graphics Driver(9) β and the whole cinematic universe of related pages:
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_open(9)pvr_drm_driver_postclose(9)
Source/version: ./drivers/gpu/drm/imagination β dated October 2026. Thatβs the cute lil sign-off, bestie π«Άπ Go create some buffer objects responsibly β¨
π¦ 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