ENUM DRM_PANTHOR_TIMESTAMP_INFO_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum drm_panthor_timestamp_info_flags(9) β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the Kernel API Manual page for enum drm_panthor_timestamp_info_flags and lemme tell you, this little enum is literally the blueprint for drm_panthor_timestamp_info.flags β€” it's the vibe check that tells the timestamp query what you actually want back πŸŽ€


🌸 NAME 🌸

enum drm_panthor_timestamp_info_flags β€” it's the flags field for drm_panthor_timestamp_info.flags, no cap πŸ’–


✨ SYNOPSIS ✨

this is the whole squad, in order, exactly as written:

enum drm_panthor_timestamp_info_flags {
    DRM_PANTHOR_TIMESTAMP_GPU ,
    DRM_PANTHOR_TIMESTAMP_CPU_NONE ,
    DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC ,
    DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC_RAW ,
    DRM_PANTHOR_TIMESTAMP_CPU_TYPE_MASK ,
    DRM_PANTHOR_TIMESTAMP_GPU_OFFSET ,
    DRM_PANTHOR_TIMESTAMP_GPU_CYCLE_COUNT ,
    DRM_PANTHOR_TIMESTAMP_FREQ ,
    DRM_PANTHOR_TIMESTAMP_DURATION

};

🫢 Constants 🫢

okay so these are the actual members and each one is a whole personality, bestie πŸ‘‘

  • DRM_PANTHOR_TIMESTAMP_GPU β€” asks for the GPU time πŸ•
  • DRM_PANTHOR_TIMESTAMP_CPU_NONE β€” respectfully, do not query CPU time πŸ™ˆ
  • DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC β€” query CPU time, but using CLOCK_MONOTONIC ⏱️
  • DRM_PANTHOR_TIMESTAMP_CPU_MONOTONIC_RAW β€” query CPU time using CLOCK_MONOTONIC_RAW 🧚
  • DRM_PANTHOR_TIMESTAMP_CPU_TYPE_MASK β€” space reserved for the CPU clock type πŸŽ€ (yes, reserved β€” don't go messing with it)
  • DRM_PANTHOR_TIMESTAMP_GPU_OFFSET β€” query the GPU offset πŸ“
  • DRM_PANTHOR_TIMESTAMP_GPU_CYCLE_COUNT β€” query the GPU cycle count πŸ”₯
  • DRM_PANTHOR_TIMESTAMP_FREQ β€” query the timestamp frequency 🌈
  • DRM_PANTHOR_TIMESTAMP_DURATION β€” return the duration of the time query ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, first up the source of truth: Kernel file ./include/uapi/drm/panthor_drm.h πŸ’–

then, in order, literally all of these:

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), 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) πŸŽ€


and that's the whole page, bestie 🫢 it lives in ./include/uapi/drm, and the version vibe is dated October 2026 β€” so yeah, go off, timestamp your stuff, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from