pvr_dev_quer...ime_info_get(9)
π 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 structdrm_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 π₯
0on success β or if size is requested using aNULLpointer (yes, asking for the size counts as a win too, we stan π«Ά), or-E2BIGif 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-EFAULTif local memory could not be copied to userspace β the copy did not go through, no cap π
π SEE ALSO π
- 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_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_destroy_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)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms