STRUCT DRM_IVPU_CMDQ_CREATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct drm_ivpu_cmdq_create(9) ✨

Hey bestie, welcome to the Kernel API Manual 🫢 β€” this is the one where we learn about struct drm_ivpu_cmdq_create, aka the glow-up moment where a command queue gets born so jobs have somewhere to be submitted. Literally main character energy for the NPU. πŸ’…


🌸 NAME 🌸

struct drm_ivpu_cmdq_create β€” create a command queue for job submission, periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct drm_ivpu_cmdq_create {
    __u32 cmdq_id;
    __u32 priority;
    __u32 flags;
 };

That's the whole little guy. Three fields, no cap. πŸ’–


πŸ‘‘ Members πŸ‘‘

πŸ’« cmdq_id

The returned ID of the created command queue. That's it, that's the field β€” it gets handed back to you so you know which queue you're dealing with. 🎯

πŸ’« priority

The priority to be set for the related job command queue. It can be one of the following:

  • DRM_IVPU_JOB_PRIORITY_DEFAULT
  • DRM_IVPU_JOB_PRIORITY_IDLE
  • DRM_IVPU_JOB_PRIORITY_NORMAL
  • DRM_IVPU_JOB_PRIORITY_FOCUS
  • DRM_IVPU_JOB_PRIORITY_REALTIME

Pick your fighter, bestie. 🌈

πŸ’« flags

Supported flags:

πŸ”₯ DRM_IVPU_CMDQ_FLAG_TURBO

Enable low-latency mode for the command queue. The NPU will maximize performance when executing jobs from such a queue β€” at the cost of increased power usage. So yeah, it ate, but your battery is gonna feel it. πŸ’€βš‘


🌟 SEE ALSO 🌟


Okay that's the whole page, go read the others too, iykyk 🧚

Later, bestie! This lil' page lives in ./include/uapi/drm and was dated October 2026 β€” and the header up top was struct drm_ivpu_cmdq_create(9), bestie, in case you forgot already. πŸ’œπŸ“

πŸ“¦ where this page comes from