pvr_ioctl_c...hwrt_dataset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 type struct 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 πŸ”₯

  • 0 on 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:

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