ENUM DRM_PVR_DEV_QUERY(9)
๐ enum drm_pvr_dev_query(9) โ the vibe check page ๐
okay so this is enum drm_pvr_dev_query(9) from the Kernel API Manual, section 9, and it's genuinely one of those little pages that's short but matters, so likeโฆ pay attention bestie ๐ซถ
โจ NAME โจ
enum drm_pvr_dev_query โ this is what you use with &drm_pvr_ioctl_dev_query_args.type to say which kind of container you're receiving. it's giving "choose your fighter" but for structs ๐
๐ธ SYNOPSIS ๐ธ
enum drm_pvr_dev_query {
DRM_PVR_DEV_QUERY_GPU_INFO_GET ,
DRM_PVR_DEV_QUERY_RUNTIME_INFO_GET ,
DRM_PVR_DEV_QUERY_QUIRKS_GET ,
DRM_PVR_DEV_QUERY_ENHANCEMENTS_GET ,
DRM_PVR_DEV_QUERY_HEAP_INFO_GET ,
DRM_PVR_DEV_QUERY_STATIC_DATA_AREAS_GET
};
like, that's the whole squad, all six of them, no cap ๐ฅ
๐ฆ Constants ๐ฆ
bestie these are the constants and each one is a little "hey the dev query args contain a pointer to this struct" note, so here we go ๐
DRM_PVR_DEV_QUERY_GPU_INFO_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_gpu_info. gpu info, iconic.DRM_PVR_DEV_QUERY_RUNTIME_INFO_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_runtime_info. runtime info, slay.DRM_PVR_DEV_QUERY_QUIRKS_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_quirks. quirks!! the fun ones ๐DRM_PVR_DEV_QUERY_ENHANCEMENTS_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_enhancements. enhancements, we love a glow-up โจDRM_PVR_DEV_QUERY_HEAP_INFO_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_heap_info. heap info, very demure, very mindful ๐DRM_PVR_DEV_QUERY_STATIC_DATA_AREAS_GETโ the dev query args contain a pointer to structdrm_pvr_dev_query_static_data_areas. static data areas, main character energy ๐
๐ Description ๐
Append only. Do not reorder.
that's literally it, that's the whole description, and likeโฆ it's short but it is loud. do not reorder them, bestie, i'm begging ๐ญ the ABI depends on the order so you append new ones at the end and you never ever shuffle the existing ones. periodt. ๐
๐ฎ SEE ALSO ๐ฎ
okay this list is long long, like it ate and left no crumbs ๐ every single one of these is here, don't @ me:
- Kernel file
./include/uapi/drm/pvr_drm.hPowerVR UAPI(9) - struct
drm_pvr_obj_array(9) DRM_PVR_OBJ_ARRAY(9)- PowerVR IOCTL interface(9)
PVR_IOCTL(9)- PowerVR IOCTL
DEV_QUERYinterface(9) - struct
drm_pvr_dev_query_gpu_info(9) - struct
drm_pvr_dev_query_runtime_info(9) - struct
drm_pvr_dev_query_quirks(9) - struct
drm_pvr_dev_query_enhancements(9) - enum
drm_pvr_heap_id(9) - struct
drm_pvr_heap(9) - struct
drm_pvr_dev_query_heap_info(9) - enum
drm_pvr_static_data_area_usage(9) - struct
drm_pvr_static_data_area(9) - struct
drm_pvr_dev_query_static_data_areas(9) - struct
drm_pvr_ioctl_dev_query_args(9) - PowerVR IOCTL
CREATE_BOinterface(9) - Flags for
CREATE_BO(9) - struct
drm_pvr_ioctl_create_bo_args(9) - PowerVR IOCTL
GET_BO_MMAP_OFFSETinterface(9) - struct
drm_pvr_ioctl_get_bo_mmap_offset_args(9) - PowerVR IOCTL
CREATE_VM_CONTEXTandDESTROY_VM_CONTEXTinterfaces(9) - struct
drm_pvr_ioctl_create_vm_context_args(9) - struct
drm_pvr_ioctl_destroy_vm_context_args(9) - PowerVR IOCTL
VM_MAPandVM_UNMAPinterfaces(9) - struct
drm_pvr_ioctl_vm_map_args(9) - struct
drm_pvr_ioctl_vm_unmap_args(9) - PowerVR IOCTL
CREATE_CONTEXTandDESTROY_CONTEXTinterfaces(9) - enum
drm_pvr_ctx_priority(9) - enum
drm_pvr_ctx_type(9) - struct
drm_pvr_ioctl_create_context_args(9) - struct
drm_pvr_ioctl_destroy_context_args(9) - PowerVR IOCTL
CREATE_FREE_LISTandDESTROY_FREE_LISTinterfaces(9) - struct
drm_pvr_ioctl_create_free_list_args(9) - struct
drm_pvr_ioctl_destroy_free_list_args(9) - PowerVR IOCTL
CREATE_HWRT_DATASETandDESTROY_HWRT_DATASETinterfaces(9) - struct
drm_pvr_create_hwrt_geom_data_args(9) - struct
drm_pvr_create_hwrt_rt_data_args(9) - struct
drm_pvr_ioctl_create_hwrt_dataset_args(9) - struct
drm_pvr_ioctl_destroy_hwrt_dataset_args(9) - PowerVR IOCTL
SUBMIT_JOBSinterface(9) - Flags for the
drm_pvr_sync_opobject.(9) - struct
drm_pvr_sync_op(9) - Flags for
SUBMIT_JOBioctl geometry command.(9) - Flags for
SUBMIT_JOBioctl fragment command.(9) - Flags for
SUBMIT_JOBioctl compute command.(9) - Flags for
SUBMIT_JOBioctl transfer command.(9) - enum
drm_pvr_job_type(9) - struct
drm_pvr_hwrt_data_ref(9) - struct
drm_pvr_job(9) - struct
drm_pvr_ioctl_submit_jobs_args(9)
ngl if you ever touch this enum, remember: append only, do not reorder. that's the whole assignment. no notes. ๐
and that's the page!! written from ./include/uapi/drm, dated October 2026, and it's the enum drm_pvr_dev_query(9) page โ go read the whole PowerVR UAPI set, mwah ๐โจ๐ฆ
๐ฆ 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