pvr_ioctl_de...hwrt_dataset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 type struct 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 ⭐

  • 0 on success β€” slay, the dataset is gone, everyone go home πŸŽ‰
  • -EINVAL if 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