STRUCT IVPU_CMDQ(9)
π struct ivpu_cmdq(9) π
okay so bestie, welcome to the Kernel API Manual entry for struct ivpu_cmdq β and yes, we're doing this, because this little struct is genuinely iconic and it deserves your full attention β¨
πΈ NAME πΈ
struct ivpu_cmdq β bestie, this is the command queue for submitting jobs to the VPU. It keeps track of the queue memory, the preemption buffers, and all the metadata you need for job management. no cap, that's literally its whole job π«Ά
π SYNOPSIS π
struct ivpu_cmdq {
struct vpu_job_queue *jobq;
struct ivpu_bo *primary_preempt_buf;
struct ivpu_bo *secondary_preempt_buf;
struct ivpu_bo *mem;
u32 entry_count;
u32 id;
u32 db_id;
u8 priority;
bool is_legacy;
};
π¦ Members π¦
jobqβ a pointer to the job queue memory that's shared with the device. shared with the device, bestie, we're literally in this together πprimary_preempt_bufβ the primary preemption buffer for this queue. it's optional</> πsecondary_preempt_bufβ the secondary preemption buffer for this queue. also optional</>, yes you get two πmemβ the memory allocated for the job queue, shared with the device. (yes, again with the sharing, it's giving main character energy π)entry_countβ number of job entries in the queue.u32, counting things, slay β¨idβ the unique command queue ID. unique! one of a kind! πdb_idβ the doorbell ID assigned to this job queue. ding-dong, your job is ready πpriorityβ the priority level of the command queue.u8of pure importance βis_legacyβtrueif this is a legacy command queue. iconic old-school vibes, we respect it π
ngl bestie, the two preemption buffers are both marked optional in the original, so don't come for me β I'm just the messenger π§
π SEE ALSO π
- Kernel file
./drivers/accel/ivpu/ivpu_job.h struct ivpu_job(9)β go read it, it's the whole friend group π
aaaand that's the whole page, bestie!! π this gem lives under ./drivers/accel/ivpu, and the version/date stamp on it is October 2026 β so yeah, it's from the future, we manifested it, periodt π
π¦β¨
π¦ 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