ENUM DRM_ASAHI_PRIORITY(9)
π 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
- 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