STRUCT DRM_IVPU_CMDQ_CREATE(9)
β¨ 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_DEFAULTDRM_IVPU_JOB_PRIORITY_IDLEDRM_IVPU_JOB_PRIORITY_NORMALDRM_IVPU_JOB_PRIORITY_FOCUSDRM_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 π
- Kernel file
./include/uapi/drm/ivpu_accel.h contexts(9)DRM_IVPU_CAP_METRIC_STREAMER(9)DRM_IVPU_CAP_DMA_MEMORY_RANGE(9)DRM_IVPU_CAP_MANAGE_CMDQ(9)DRM_IVPU_CAP_BO_CREATE_FROM_USERPTR(9)struct drm_ivpu_param(9)struct drm_ivpu_bo_create(9)struct drm_ivpu_bo_create_from_userptr(9)struct drm_ivpu_bo_info(9)struct drm_ivpu_submit(9)struct drm_ivpu_cmdq_submit(9)struct drm_ivpu_bo_wait(9)struct drm_ivpu_metric_streamer_start(9)struct drm_ivpu_metric_streamer_get_data(9)struct drm_ivpu_cmdq_destroy(9)struct drm_ivpu_metric_streamer_stop(9)
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
- 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