ENUM DRM_PVR_HEAP_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum drm_pvr_heap_id(9)

okay bestie, welcome to the enum drm_pvr_heap_id(9) page from the Kernel API Manual β€” yes that's the manual name, we're being official today ✨

This one's short but she's important, so pay attention 🫢


🌸 NAME

enum drm_pvr_heap_id β€” the array index you use for the heap info data that %DRM_PVR_DEV_QUERY_HEAP_INFO_GET hands back to you πŸ’–


✨ SYNOPSIS

enum drm_pvr_heap_id {
    DRM_PVR_HEAP_GENERAL ,
    DRM_PVR_HEAP_PDS_CODE_DATA ,
    DRM_PVR_HEAP_USC_CODE ,
    DRM_PVR_HEAP_RGNHDR ,
    DRM_PVR_HEAP_VIS_TEST ,
    DRM_PVR_HEAP_TRANSFER_FRAG ,
    DRM_PVR_HEAP_COUNT

};

πŸŽ€ Constants

  • DRM_PVR_HEAP_GENERAL β€” the general purpose heap, your everyday icon πŸ‘‘
  • DRM_PVR_HEAP_PDS_CODE_DATA β€” the PDS code and data heap, doing code and data things, multitasking queen πŸ’…
  • DRM_PVR_HEAP_USC_CODE β€” the USC code heap 🧚
  • DRM_PVR_HEAP_RGNHDR β€” the region header heap. heads up: only used if the GPU has BRN63142 🫑
  • DRM_PVR_HEAP_VIS_TEST β€” the visibility test heap, iykyk πŸ”
  • DRM_PVR_HEAP_TRANSFER_FRAG β€” the transfer fragment heap 🌈
  • DRM_PVR_HEAP_COUNT β€” literally the number of heaps that DRM_PVR_DEV_QUERY_HEAP_INFO_GET returns. and because more heaps may get added later, this also doubles as the copy limit when the caller sends it πŸ“ no cap

πŸ”₯ Description

so here's the vibe: for compatibility reasons, all the indices are gonna be present in the returned array β€” but some heaps may not actually be present, bestie 😭 those ones are indicated where struct drm_pvr_heap.size is set to zero πŸ’€


πŸ’œ SEE ALSO

  • Kernel file ./include/uapi/drm/pvr_drm.h
  • PowerVR UAPI(9)
  • struct drm_pvr_obj_array(9)
  • DRM_PVR_OBJ_ARRAY(9)
  • PowerVR IOCTL interface(9)
  • PVR_IOCTL(9)
  • PowerVR IOCTL DEV_QUERY interface(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)
  • 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)
  • enum drm_pvr_dev_query(9)
  • struct drm_pvr_ioctl_dev_query_args(9)
  • PowerVR IOCTL CREATE_BO interface(9)
  • Flags for CREATE_BO(9)
  • struct drm_pvr_ioctl_create_bo_args(9)
  • PowerVR IOCTL GET_BO_MMAP_OFFSET interface(9)
  • struct drm_pvr_ioctl_get_bo_mmap_offset_args(9)
  • PowerVR IOCTL CREATE_VM_CONTEXT and DESTROY_VM_CONTEXT interfaces(9)
  • struct drm_pvr_ioctl_create_vm_context_args(9)
  • struct drm_pvr_ioctl_destroy_vm_context_args(9)
  • PowerVR IOCTL VM_MAP and VM_UNMAP interfaces(9)
  • struct drm_pvr_ioctl_vm_map_args(9)
  • struct drm_pvr_ioctl_vm_unmap_args(9)
  • PowerVR IOCTL CREATE_CONTEXT and DESTROY_CONTEXT interfaces(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_LIST and DESTROY_FREE_LIST interfaces(9)
  • struct drm_pvr_ioctl_create_free_list_args(9)
  • struct drm_pvr_ioctl_destroy_free_list_args(9)
  • PowerVR IOCTL CREATE_HWRT_DATASET and DESTROY_HWRT_DATASET interfaces(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_JOBS interface(9)
  • Flags for the drm_pvr_sync_op object.(9)
  • struct drm_pvr_sync_op(9)
  • Flags for SUBMIT_JOB ioctl geometry command.(9)
  • Flags for SUBMIT_JOB ioctl fragment command.(9)
  • Flags for SUBMIT_JOB ioctl compute command.(9)
  • Flags for SUBMIT_JOB ioctl 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)

that's the whole page, bestie β€” go read the source at ./include/uapi/drm and slay πŸ’…βœ¨

okay so that's a wrap! this came from ./include/uapi/drm and is dated October 2026 β€” citing my sources like a good student πŸŽ€ bye pookie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from