xe_exec_queue_create_class(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 xe_exec_queue_create_class(9) β€” the "make me a queue for THIS engine class" era

okay bestie, welcome to the Kernel API Manual πŸ’– you're about to meet xe_exec_queue_create_class, which is literally the moment a fresh exec queue gets born for one very specific engine class. main character energy, no cap ✨


✨ NAME ✨

xe_exec_queue_create_class β€” spawn an exec queue that's locked in for one specific engine class πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct xe_exec_queue * xe_exec_queue_create_class (struct xe_device *xe
, struct xe_gt *gt , struct xe_vm *vm , enum xe_engine_class class , u32
flags , u64 extensions );

πŸ’… ARGUMENTS πŸ’…

  • xe β€” the Xe device, your whole GPU situation πŸ’œ
  • gt β€” the GT (graphics tile) that this exec queue belongs to
  • vm β€” the VM this exec queue lives in
  • class β€” the engine class, like, the vibe of engine you want πŸ‘‘
  • flags β€” the flags you pass when creating the exec queue
  • extensions β€” extensions for the exec queue creation, iykyk

🌈 DESCRIPTION 🌈

short and sweet: this makes an exec queue for whichever engine class you specified. that's the whole assignment, and it ate πŸ’…βœ¨


⭐ RETURN ⭐

you get a pointer to the created exec queue on success 🫢 β€” and on failure you get ERR_PTR, so like, check it before you start celebrating 😭


πŸŽ€ SEE ALSO πŸŽ€

the whole friend group fr fr πŸ’–


and that's the page bestie πŸ’– created with so much love under ./drivers/gpu/drm/xe, brought to you by the October 2026 edition of the Kernel API Manual. slay, go make some queues πŸ§šβ€β™€οΈπŸŒΈ
πŸ“¦ where this page comes from