ENUM KFD_CONFIG_DEQUEUE_WAIT_COUNTS_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, <pink>enum kfd_config_dequeue_wait_counts_cmd</pink> β€” it's the command for configuring dequeue wait counts. that's the whole vibe. it's an enum, it's in the kernel API, and it's here to tell the dequeue wait counts what to do. iconic behavior honestly πŸŽ€


✨ SYNOPSIS ✨

like, here's the literal shape of it, no notes:

enum kfd_config_dequeue_wait_counts_cmd {
    KFD_DEQUEUE_WAIT_INIT ,
    KFD_DEQUEUE_WAIT_RESET ,
    KFD_DEQUEUE_WAIT_SET_SCH_WAVE

};

three constants, zero drama, all business πŸ’–


🌸 Constants 🌸

okay so this is the part where each member gets its moment. main character energy for all three, no cap:

  • KFD_DEQUEUE_WAIT_INIT β€” this one sets the optimized dequeue wait counts for a certain ASICs. and for those ASICs, this is literally the default value that RESET uses. so it's giving "I set the standard" πŸ‘‘
  • KFD_DEQUEUE_WAIT_RESET β€” resets the dequeue wait counts back to that optimized value for certain ASICs. for the others? it sets them to the default hardware reset value instead. different strokes for different chips, fr fr πŸ¦‹
  • KFD_DEQUEUE_WAIT_SET_SCH_WAVE β€” sets the context switch latency wait. that's it, that's the whole job. lowkey powerful πŸ’…

🫢 SEE ALSO 🫢

go read these next, bestie, they're all holding hands in the same header file β€” the kernel file is ./drivers/gpu/drm/amd/amdkfd/kfd_priv.h, and from there you've got:

  • enum kfd_ioctl_flags(9)
  • enum kfd_unmap_queues_filter(9)
  • enum kfd_queue_type(9)
  • struct queue_properties(9)
  • struct queue(9)
  • amdkfd_ioctl_t(9)

go off, read the whole friend group 🌈


and that's the page, bestie!! this one lives its best life over in ./drivers/gpu/drm/amd/amdkfd, and it was dated October 2026 β€” so yeah, mark your calendar, mwah πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from