xe_exec_que...ueue_primary(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_exec_queue_multi_queue_primary(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so this one is a tiny little function but it's giving "small but mighty" energy, and honestly? we're obsessed. it lives in the kernel API manual, it's got a nine in parentheses which means it's A Kernel Thing, and it's about πŸ¦‹ exec queues πŸ¦‹ β€” specifically, getting the primary queue out of a multi queue group. let's get into it ✨


🌸 SYNOPSIS 🌸

struct xe_exec_queue * xe_exec_queue_multi_queue_primary (struct xe_exec_queue *q );

like, it takes one struct xe_exec_queue * and hands you back a struct xe_exec_queue *. simple. clean. iconic. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” the exec_queue. that's it, that's the whole argument. she's the main character and we're just here for the ride 🫢

✨ DESCRIPTION ✨

so here's the vibe check πŸ‘‘: if q belongs to a multi queue group, then the primary queue of the group gets returned to you. no cap, that's literally it.

but if q is not part of a multi queue group? then you just get q right back. she returns herself. self-love, we stan πŸ˜­πŸ’–

so basically: you either get the primary queue of the group, or you get your own queue back unchanged. either way you're walking away with a struct xe_exec_queue *, and that's a slay 🌈


πŸ”₯ SEE ALSO πŸ”₯


ngl, these four functions are a whole friend group and they all reference each other. iykyk πŸ’€

and that's the page!! written by the crew over at ./drivers/gpu/drm/xe, dated October 2026, and yes the footer still spells it xe_exec_que...ueue_primary(9) β€” truncated title and all, we love a consistent aesthetic βœ¨πŸŽ€ see u in the next manpage bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from