pvr_ioctl_dev_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pvr_ioctl_dev_query(9) β€” Kernel API Manual 🌸

✨ NAME ✨

pvr_ioctl_dev_query β€” IOCTL to copy information about a device, bestie. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int pvr_ioctl_dev_query (struct drm_device *drm_dev , void *raw_args ,
       struct drm_file *file );

πŸŽ€ ARGUMENTS πŸŽ€

  • drm_dev β€” [IN] DRM device. πŸ’–
  • raw_args β€” [IN/OUT] arguments passed to this IOCTL. This must be of type struct drm_pvr_ioctl_dev_query_args. ✨
  • file β€” [IN] DRM file private data. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

Called from userspace with DRM_IOCTL_PVR_DEV_QUERY. No cap. πŸ’…

If the given receiving struct pointer is NULL, or the indicated size is too small, the expected size of the struct type will be returned in the size argument field. That's the vibe check: you get told what size you actually need. 😭

πŸ’œ RETURN πŸ’œ

  • 0 β€” success, or when fetching the size with args->pointer == NULL; or
  • -E2BIG β€” the indicated size of the receiving struct is less than is required to contain the copied data; or
  • -EINVAL β€” the indicated struct type is unknown; or
  • -ENOMEM β€” local memory could not be allocated; or
  • -EFAULT β€” local memory could not be copied to userspace. πŸ’€

🌈 SEE ALSO 🌈

Okay bestie, here's the whole friend group β€” all the related manpages and the kernel file:


And that's the whole page, bestie! πŸŽ€ Source/version is ./drivers/gpu/drm/imagination, dated October 2026, and this iconic page is pvr_ioctl_dev_query(9). Bye! πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from