pvr_ioctl_c...hwrt_dataset(9)
π pvr_ioctl_create_hwrt_dataset β a Kernel API Manual moment π
okay so bestie, we're literally in the pvr_ioctl_c...hwrt_dataset(9) page of the Kernel API Manual and it's giving "tiny function, big job". sit down, hydrate, and let's get into it π«Ά
πΈ NAME πΈ
pvr_ioctl_create_hwrt_dataset β the IOCTL that creates a HWRT dataset. that's it, that's the whole vibe. it makes the dataset. iconic behavior tbh β¨
π¦ SYNOPSIS π¦
int pvr_ioctl_create_hwrt_dataset (struct drm_device *drm_dev , void
*raw_args , struct drm_file *file );
look at that signature. three args, one int coming back at you. no cap, she's simple but she works π
π ARGUMENTS π
drm_dev[IN] β the DRM device. literally the whole device, that's her.raw_args[IN/OUT] β the arguments passed to this IOCTL. heads up: this must be of typestruct drm_pvr_ioctl_create_hwrt_dataset_args. not "should", not "ideally" β must. πfile[IN] β the DRM file private data. the personal little file details, iykyk.
β DESCRIPTION β
okay so here's the tea: this one gets called from userspace with DRM_IOCTL_PVR_CREATE_HWRT_DATASET. that's the whole description, and honestly? she said what she said. main character energy, minimal words. π
π₯ RETURN π₯
0on success, or- any error returned by
pvr_hwrt_dataset_create.
like, whatever that function hands back, you're getting it right back. no filter, fr fr. π
π SEE ALSO π
bestie, the friend group is large, buckle up:
- 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_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)
like I said. the whole squad. π
ngl if you're creating a dataset you'll probably want the destroy one too β it's right there in the list, pvr_ioctl_destroy_hwrt_dataset(9). balance, bestie. π§
and that's the page!! π this little gem lives in ./drivers/gpu/drm/imagination, dated October 2026, and it's filed under pvr_ioctl_c...hwrt_dataset(9) in the Kernel API Manual β mwah, slay, periodt. π¦β¨
π¦ 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