pvr_dev_quer...ime_info_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pvr_dev_quer...ime_info_get(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one is literally pvr_dev_quer...ime_info_get(9) β€” yes the name is truncated with the ... and no we are not fixing it, that's just how it's printed, iykyk 🫢


🌸 NAME 🌸

pvr_dev_query_runtime_info_get β€”

and that's it. that's the whole name section. no description, no little dash-explainer, nothing. it's giving mysterious main character energy πŸ’€ (we love a function that lets its actions speak fr fr)


✨ SYNOPSIS ✨

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

look at her go 😭 two structs and an int, clean, iconic, no notes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • pvr_dev β€” the device pointer. that's your lil handle on the actual device, bestie πŸ–₯️
  • args β€” [IN] the device query arguments, and inside them there's a pointer to a userspace struct drm_pvr_dev_query_runtime_info. so yes, it's an args-struct holding a pointer to another struct. struct-ception, we're obsessed πŸŒ€βœ¨

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe check πŸ‘‘: if the query object pointer is NULL, then the size field gets updated with the expected size of the query object. that's it. that's the whole description. short and slay πŸ’–

tl;dr β€” hand it a NULL pointer and it'll tell you how big your buffer needs to be. very demure, very considerate 🌸


πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” or if size is requested using a NULL pointer (yes, asking for the size counts as a win too, we stan 🫢), or
  • -E2BIG if the indicated length of the allocation is less than is required to contain the copied data β€” i.e. your buffer is too smol, bestie, and it is NOT gonna squeeze in there 😭, or
  • -EFAULT if local memory could not be copied to userspace β€” the copy did not go through, no cap πŸ’€

🌈 SEE ALSO 🌈

like, the whole friend group showed up to the function's birthday party πŸŽ‚πŸŽ‰ genuinely a full guest list, go read them all, they're all part of the same PowerVR + IMG Graphics Driver(9) saga πŸ’œ


ok that's the page!! mwah 😘 this lil beauty lives at ./drivers/gpu/drm/imagination πŸ—‚οΈ and was stamped October 2026 πŸ“… β€” so mark your calendar bestie, and remember the page name for the millionth time: pvr_dev_quer...ime_info_get(9) πŸ’« bye pookie, go query some runtime info πŸ§šβ€β™€οΈπŸ’–
πŸ“¦ where this page comes from