ENUM DRM_ASAHI_PRIORITY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum drm_asahi_priority (Kernel API Manual) πŸŽ€

okay bestie, so this is a page about enum drm_asahi_priority β€” Scheduling queue priority. yes, we're doing kernel scheduling vibes today, and honestly? it's giving main character energy. it lives in the Kernel API Manual, so you already know it's fancy. 🌈


✨ SYNOPSIS ✨

enum drm_asahi_priority {
    DRM_ASAHI_PRIORITY_LOW ,
    DRM_ASAHI_PRIORITY_MEDIUM ,
    DRM_ASAHI_PRIORITY_HIGH ,
    DRM_ASAHI_PRIORITY_REALTIME

};

🌸 Constants 🌸

like, these are the actual squad members. each one is a different priority level, and no cap, picking one is a whole personality choice:

  • DRM_ASAHI_PRIORITY_LOW β€” the low priority queue. it's the "no rush bestie, take your time" energy. πŸ¦‹
  • DRM_ASAHI_PRIORITY_MEDIUM β€” the medium priority queue. the perfectly balanced, middle-of-the-road icon that it is. πŸ’œ
  • DRM_ASAHI_PRIORITY_HIGH β€” the high priority queue. she's important, she's busy, she needs it now. πŸ”₯
  • Reserved for future extension. β€” literally just sitting there, saving a spot for future lore. πŸ™ˆ
  • DRM_ASAHI_PRIORITY_REALTIME β€” the real-time priority queue. the most dramatic of them all, and she knows it. πŸ‘‘
  • Reserved for future extension. β€” again bestie, another reserved slot, we love a placeholder. ✨

πŸ’– Description πŸ’–

so the way this works: these priorities get forwarded to the firmware to influence firmware scheduling. that's the whole assignment. 🫢

the exact policy is ultimately decided by firmware β€” like, the firmware is the one holding the aux cord here, not you β€” but these enums allow userspace to communicate the intentions. so you're saying "hey, this one's urgent" and the firmware goes "noted, we'll see," which is lowkey how everything works tbh. 😭


⭐ SEE ALSO ⭐

  • 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)
  • 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)
  • struct drm_asahi_get_time(9)
  • DRM_IOCTL_ASAHI(9)

and that's the whole page, bestie β€” go forth and schedule responsibly πŸ’…βœ¨

source: ./include/uapi/drm Β· dated October 2026 Β· mwah, xoxo, drink water and read your headers πŸ“πŸ«Ά

πŸ“¦ where this page comes from