DRM_IOCTL_PANTHOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… DRM_IOCTL_PANTHOR β€” build a Panthor IOCTL number ✨

okay so this is a page from the Kernel API Manual, bestie β€” DRM_IOCTL_PANTHOR(9), section 9, kernel-space vibes only. it's a macro. it makes numbers. that's the whole thing. let's get into it πŸŽ€


🌸 NAME 🌸

DRM_IOCTL_PANTHOR β€” literally just builds a Panthor IOCTL number for you πŸ¦‹


✨ SYNOPSIS ✨

DRM_IOCTL_PANTHOR (__access , __id , __type );

🧚 ARGUMENTS 🧚

  • __access β€” the access type, babe. it must be R, W or RW β€” those are the only three that ate πŸ’…
  • __id β€” one of the DRM_PANTHOR_xxx ids. pick your fave πŸ‘‘
  • __type β€” the suffix of the type that's getting passed to the IOCTL 🫢

πŸ’– DESCRIPTION πŸ’–

so like… don't use this macro directly, okay? 😭 i'm serious. it's giving "backstage pass, not for the general public." use the DRM_IOCTL_PANTHOR_xxx values instead β€” those are the main characters, this macro is just the lighting crew ⭐


πŸ”₯ RETURN πŸ”₯

returns an IOCTL number β€” the exact thing you hand off to ioctl from userspace 🌈


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, no gatekeeping:

  • Kernel file ./include/uapi/drm/panthor_drm.h πŸ‘‘
  • Introduction(9)
  • MMIO regions exposed to userspace.(9)
  • IOCTL IDs(9)
  • IOCTL arguments(9)
  • struct drm_panthor_obj_array(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)

ok that's the whole page, no cap πŸ’€ don't use the macro directly, use the DRM_IOCTL_PANTHOR_xxx values, and go touch some userspace 🫢

and that's a wrap, bestie πŸŽ€ this one lives under the source path ./include/uapi/drm, dated October 2026 β€” iykyk, see you in the next manpage πŸ’œβœ¨

πŸ“¦ where this page comes from