STRUCT KFD_IOCTL_DBG_TRAP_RESUME_QUEUES_ARGS(9)
π 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'su32per queue id, no cap) that you want to resume. Slay πnum_queuesβ (IN) β the number of queues you're resuming inqueue_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms