STRUCT KFD_IOCTL_DBG_TRAP_RESUME_QUEUES_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ NAME

struct kfd_ioctl_dbg_trap_resume_queues_args β€” bestie, this is the args struct for KFD_IOC_DBG_TRAP_RESUME_QUEUES</p>. It's from the Kernel API Manual (yes, the struct kfd_i..._queues_args(9) girlies, that's us ✨).


πŸ¦‹ SYNOPSIS

struct kfd_ioctl_dbg_trap_resume_queues_args {
    __u64 queue_array_ptr;
    __u32 num_queues;
 };

πŸŽ€ Members

  • queue_array_ptr β€” (IN) β€” literally a pointer to an array of queue ids (that's u32 per queue id, no cap) that you want to resume. Slay πŸ’…
  • num_queues β€” (IN) β€” the number of queues you're resuming in queue_array_ptr. Count 'em, don't fumble it 🫢

✨ Description

Okay so the whole vibe here: resume queues. That's it, that's the function πŸ’–

Generic errors apply (peep kfd_dbg_trap_operations for those, iykyk).

Return value: number of queues resumed on SUCCESS πŸ‘‘

And listen, KFD_DBG_QUEUE_ERROR_MASK and KFD_DBG_QUEUE_INVALID_MASK are masks that, for each queue id in the queue_array_ptr array, report the reason a resume was unsuccessful 😭 Breakdown:

  • KFD_DBG_QUEUE_ERROR_MASK = HW failure πŸ’€
  • KFD_DBG_QUEUE_INVALID_MASK = queue does not exist πŸ™ˆ
Not every queue is gonna make it, bestie. The mask tells you which ones flopped and why β€” so read it, don't skip it, fr fr.

🌈 SEE ALSO

Kernel file ./include/uapi/linux/kfd_ioctl.h β€” and these iconic siblings:

  • struct kfd_ioctl_criu_args(9)
  • enum kfd_ioctl_svm_op(9)
  • enum kfd_ioctl_svm_attr_type(9)
  • struct kfd_ioctl_svm_attribute(9)
  • struct kfd_ioctl_svm_args(9)
  • struct kfd_ioctl_set_xnack_mode_args(9)
  • struct kfd_ioctl_runtime_enable_args(9)
  • struct kfd_ioctl_dbg_trap_enable_args(9)
  • struct kfd_ioctl_dbg_trap_send_runtime_event_args(9)
  • struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args(9)
  • struct kfd_ioctl_dbg_trap_set_wave_launch_override_args(9)
  • struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args(9)
  • struct kfd_ioctl_dbg_trap_suspend_queues_args(9)
  • struct kfd_ioctl_dbg_trap_set_node_address_watch_args(9)
  • struct kfd_ioctl_dbg_trap_clear_node_address_watch_args(9)
  • struct kfd_ioctl_dbg_trap_set_flags_args(9)
  • struct kfd_ioctl_dbg_trap_query_debug_event_args(9)
  • struct kfd_ioctl_dbg_trap_query_exception_info_args(9)
  • struct kfd_ioctl_dbg_trap_queue_snapshot_args(9)
  • struct kfd_ioctl_dbg_trap_device_snapshot_args(9)
  • struct kfd_ioctl_dbg_trap_args(9)
  • struct kfd_ioctl_pmc_settings(9)

That's the whole page, periodt πŸŽ€ This lil gem lives in ./include/uapi/linux, dated October 2026, and it's part of the Kernel API Manual β€” go forth and resume those queues, main character energy only πŸ‘‘πŸ’…

πŸ“¦ where this page comes from