STRUCT DRM_ASAHI_GET_TIME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct drm_asahi_get_time(9) 🌸

okay so real talk, you're in the Kernel API Manual bestie, and this is the page for struct drm_asahi_get_time. say hi πŸ‘‹


✨ NAME ✨

struct drm_asahi_get_time β€” literally just the arguments you pass to DRM_IOCTL_ASAHI_GET_TIME. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_asahi_get_time {
    __u64 flags;
    __u64 gpu_timestamp;
 };

look at her. two fields. flawless. no notes. πŸ’…


πŸ’– Members πŸ’–

  • flags β€” MBZ, which means "must be zero" β€” so like, put a zero there, bestie, don't be weird about it πŸ™ˆ
  • gpu_timestamp β€” on return (so like, after the call comes back, not before, iykyk), this holds the GPU timestamp in nanoseconds. nanoseconds! she's precise! ⏱️✨

πŸ”₯ SEE ALSO πŸ”₯

okay this is the group chat of related pages, and honestly? everyone showed up. no cap, the whole squad is here:

  • Kernel file ./include/uapi/drm/asahi_drm.h
  • Introduction to the Asahi UAPI(9)
  • enum drm_asahi_ioctl_id(9)
  • struct drm_asahi_params_global(9)
  • enum drm_asahi_feature(9)
  • struct drm_asahi_get_params(9)
  • struct drm_asahi_vm_create(9)
  • struct drm_asahi_vm_destroy(9)
  • enum drm_asahi_gem_flags(9)
  • struct drm_asahi_gem_create(9)
  • struct drm_asahi_gem_mmap_offset(9)
  • enum drm_asahi_bind_flags(9)
  • struct drm_asahi_gem_bind_op(9)
  • struct drm_asahi_vm_bind(9)
  • enum drm_asahi_bind_object_op(9)
  • enum drm_asahi_bind_object_flags(9)
  • struct drm_asahi_gem_bind_object(9)
  • enum drm_asahi_cmd_type(9)
  • enum drm_asahi_priority(9)
  • struct drm_asahi_queue_create(9)
  • struct drm_asahi_queue_destroy(9)
  • enum drm_asahi_sync_type(9)
  • struct drm_asahi_sync(9)
  • DRM_ASAHI_BARRIER_NONE(9)
  • struct drm_asahi_cmd_header(9)
  • struct drm_asahi_submit(9)
  • struct drm_asahi_attachment(9)
  • struct drm_asahi_zls_buffer(9)
  • struct drm_asahi_timestamp(9)
  • struct drm_asahi_timestamps(9)
  • struct drm_asahi_helper_program(9)
  • struct drm_asahi_bg_eot(9)
  • struct drm_asahi_cmd_render(9)
  • struct drm_asahi_cmd_compute(9)
  • DRM_IOCTL_ASAHI(9)

and that's the page!! 🫢 this one comes to you from ./include/uapi/drm, dated October 2026, and yeah, it's still struct drm_asahi_get_time(9) β€” she said "same name, same energy." bye bestie, go read your timestamps πŸ’œβ­

πŸ“¦ where this page comes from