STRUCT DRM_PANTHOR_OBJ_ARRAY(9)
π NAME π
struct drm_panthor_obj_array β Object array. This is the struct drm_panthor_obj_array(9) page from the Kernel API Manual, bestie, and itβs lowkey the blueprint for passing arrays of objects whose size can change later. β¨
β¨ SYNOPSIS β¨
Okay so the struct is literally this:
struct drm_panthor_obj_array {
__u32 stride;
__u32 count;
__u64 array;
};
πΈ Members πΈ
strideβ Stride of object struct. Used for versioning. The way it handles versioning is iconic, honestly.countβ Number of objects in the array.arrayβ User pointer to an array of objects.
π Description π
Okay so hereβs the tea π΅: this object is used to pass an array of objects whose size is subject to changes in future versions of the driver. To support this mutability, we pass a stride describing the size of the object as known by userspace.
You shouldnβt fill drm_panthor_obj_array fields directly β use the DRM_PANTHOR_OBJ_ARRAY macro instead, because it takes care of initializing the stride to the object size. Thatβs the whole point, bestie. No cap. π
π SEE ALSO π
Hereβs the whole friend group, aka every page connected to this one β no skipping, fr fr:
- Kernel file
./include/uapi/drm/panthor_drm.h Introduction(9)MMIO regions exposed to userspace.(9)IOCTL IDs(9)IOCTL arguments(9)DRM_PANTHOR_OBJ_ARRAY(9)enum drm_panthor_sync_op_flags(9)struct drm_panthor_sync_op(9)enum drm_panthor_dev_query_type(9)enum drm_panthor_gpu_coherency(9)struct drm_panthor_gpu_info(9)struct drm_panthor_csif_info(9)enum drm_panthor_timestamp_info_flags(9)struct drm_panthor_timestamp_info(9)struct drm_panthor_mmu_info(9)struct drm_panthor_group_priorities_info(9)struct drm_panthor_dev_query(9)struct drm_panthor_vm_create(9)struct drm_panthor_vm_destroy(9)enum drm_panthor_vm_bind_op_flags(9)struct drm_panthor_vm_bind_op(9)enum drm_panthor_vm_bind_flags(9)struct drm_panthor_vm_bind(9)enum drm_panthor_vm_state(9)struct drm_panthor_vm_get_state(9)enum drm_panthor_bo_flags(9)struct drm_panthor_bo_create(9)struct drm_panthor_bo_mmap_offset(9)struct drm_panthor_queue_create(9)enum drm_panthor_group_priority(9)struct drm_panthor_group_create(9)struct drm_panthor_group_destroy(9)struct drm_panthor_queue_submit(9)struct drm_panthor_group_submit(9)enum drm_panthor_group_state_flags(9)struct drm_panthor_group_get_state(9)struct drm_panthor_tiler_heap_create(9)struct drm_panthor_tiler_heap_destroy(9)struct drm_panthor_bo_set_label(9)struct drm_panthor_set_user_mmio_offset(9)enum drm_panthor_bo_sync_op_type(9)struct drm_panthor_bo_sync_op(9)struct drm_panthor_bo_sync(9)enum drm_panthor_bo_extra_flags(9)struct drm_panthor_bo_query_info(9)DRM_IOCTL_PANTHOR(9)
Signed off with all the sparkles from ./include/uapi/drm, October 2026 edition β 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