ENUM KFD_QUEUE_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum kfd_queue_type(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual bestie, and it's literally just the enum that lists every queue type a KFD queue can be. that's the whole vibe. let's get into it 🫢


✨ NAME ✨

enum kfd_queue_type β€” the enum for various queue types. yes queen, that's it, that's the summary ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

enum kfd_queue_type {
    KFD_QUEUE_TYPE_COMPUTE ,
    KFD_QUEUE_TYPE_SDMA ,
    KFD_QUEUE_TYPE_HIQ ,
    KFD_QUEUE_TYPE_SDMA_XGMI ,
    KFD_QUEUE_TYPE_SDMA_BY_ENG_ID ,
    KFD_QUEUE_TYPE_MAX

};

look at her go πŸ’… six constants, all in a row, no cap.


πŸŽ€ Constants πŸŽ€

  • KFD_QUEUE_TYPE_COMPUTE β€” the regular user mode queue type. the main character energy of queue types honestly 🌟
  • KFD_QUEUE_TYPE_SDMA β€” the SDMA user mode queue type. iconic, does what it says πŸ’–
  • KFD_QUEUE_TYPE_HIQ β€” the HIQ queue type. short, sweet, slay πŸ’œ
  • KFD_QUEUE_TYPE_SDMA_XGMI β€” a special SDMA queue, specifically for the XGMI interface. fancy 😌✨
  • KFD_QUEUE_TYPE_SDMA_BY_ENG_ID β€” an SDMA user mode queue that's targeted by SDMA engine ID. iykyk πŸ¦‹
  • KFD_QUEUE_TYPE_MAX β€” -- undescribed -- 😭 yeah bestie the docs literally say nothing about this one. not me leaving it exactly as-is πŸ™ˆ
fr fr don't go inventing a meaning for KFD_QUEUE_TYPE_MAX β€” the manpage itself gives you nothing, and i'm not about to make something up πŸ’€

🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/amd/amdkfd/kfd_priv.h enum, kfd_ioctl_flags(9), enum kfd_unmap_queues_filter(9), struct queue_properties(9), struct queue(9), amdkfd_ioctl_t(9), enum kfd_config_dequeue_wait_counts_cmd(9) β€” go read those next, bestie, they're lowkey all connected πŸ‘‘


okay that's the whole page!! this one comes from ./drivers/gpu/drm/amd/amdkfd and it's dated October 2026 β€” mwah, go off, kernel docs πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from