pvr_ioctl_de...hwrt_dataset(9)
β¨ pvr_ioctl_destroy_hwrt_dataset β a whole page from the Kernel API Manual (section 9), bestie π
okay so picture this: you're deep in the kernel docs, the manual is literally called pvr_ioctl_de...hwrt_dataset(9) (yes the title got truncated, she's mysterious like that π
), and you land on this page. it's the "delete the HWRT dataset" page. tiny page, big main character energy. let's go π
πΈ NAME πΈ
pvr_ioctl_destroy_hwrt_dataset β the IOCTL that destroys a HWRT dataset. that's it. that's the whole job. she removes the thing. iconic behavior honestly π¦
π§ SYNOPSIS π§
int pvr_ioctl_destroy_hwrt_dataset (struct drm_device *drm_dev , void
*raw_args , struct drm_file *file );
three args, one int coming back at you. no cap, that's the whole signature β copy it exactly, don't get cute with it β¨
π ARGUMENTS π
drm_devβ[IN]the DRM device. like, the actual device. you're passing it in, it's not giving you anything back. π«Άraw_argsβ[IN]the arguments that got passed to this IOCTL. heads up bestie: this must be of typestruct drm_pvr_ioctl_destroy_hwrt_dataset_args. not "something similar", not "a struct that looks like it" β that exact type. πfileβ[IN]the DRM file private data. yep. that one. π
π₯ DESCRIPTION π₯
so when does this even run? it's called from userspace with DRM_IOCTL_PVR_DESTROY_HWRT_DATASET. that's the trigger. that's the whole vibe check. you fire that IOCTL, this function shows up to do the destroying πβ¨
β RETURN β
0on success β slay, the dataset is gone, everyone go home π-EINVALif the HWRT dataset is not in the object list β like, bestie, we looked, she's not on the list, cannot destroy what isn't there π
π SEE ALSO π
grab a snack, this list is long and honestly kind of iconic:
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_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)
π‘ friendly reminder: pvr_ioctl_create_hwrt_dataset(9) is right there in the list β she's the one who makes them, this page is the one who unmakes them. balance. π§
and that's the page!! πΈ she lives in ./drivers/gpu/drm/imagination, dated October 2026, and her manual name is pvr_ioctl_de...hwrt_dataset(9). go forth and destroy (datasets, consensually, via IOCTL) ππ«Άβ¨
π¦ 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