pvr_dev_query_gpu_info_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pvr_dev_query_gpu_info_get(9) ✨

okay so bestie, welcome to the pvr_dev_query_gpu_info_get page from the Kernel API Manual πŸ’… this one's a lil function that asks your PowerVR device to hand over its GPU info, and honestly it's giving "small but mighty" energy πŸŽ€


🌸 NAME 🌸

pvr_dev_query_gpu_info_get β€” the girl whose entire job is fetching GPU info for you, no cap πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int pvr_dev_query_gpu_info_get (struct pvr_device *pvr_dev , struct
       drm_pvr_ioctl_dev_query_args *args );

πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_dev β€” the device pointer, aka your main character πŸ”₯
  • args β€” [IN] the device query arguments, and inside them is a pointer to a userspace struct drm_pvr_dev_query_gpu_info. it's giving "the info lives in here" ✨

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe check: if the query object pointer is NULL, the size field gets updated with the expected size of the query object. that's it, that's the whole thing, and she ate πŸ’…


⭐ RETURN ⭐

  • 0 on success β€” or if the size is being requested using a NULL pointer 🫢
  • -E2BIG if the indicated length of the allocation is less than what's required to contain the copied data 😭
  • -EFAULT if local memory could not be copied to userspace πŸ’€

🌈 SEE ALSO 🌈

okay bestie, buckle up, this list is long and iconic πŸ‘‘


and that's the whole page, bestie 🧚 this one lives over in ./drivers/gpu/drm/imagination, dated October 2026, and the source/version line is the Kernel API Manual β€” iykyk πŸ’– mwah, go query that GPU info πŸ“βœ¨

πŸ“¦ where this page comes from