STRUCT SMU_MSG_ARGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct smu_msg_args(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the struct smu_msg_args(9) page from the Kernel API Manual β€” it’s literally all about per-call message arguments, and we’re gonna get into it πŸ’…πŸ’–


πŸŽ€ NAME πŸŽ€

struct smu_msg_args β€” per-call message arguments, periodt ✨

✨ SYNOPSIS ✨

       struct smu_msg_args {
           enum smu_message_type msg;
           u32 args[SMU_MSG_MAX_ARGS];
           int num_args;
           u32 out_args[SMU_MSG_MAX_ARGS];
           int num_out_args;
           u32 flags;
           u32 timeout;
        };

🌸 Members 🌸

  • msg β€” the common message type, typed as enum smu_message_type πŸ‘‘
  • args β€” input arguments, the whole little stack of them 🫢
  • num_args β€” number of input arguments, no cap ✨
  • out_args β€” output arguments, and these cuties get filled after a successful send πŸ’–
  • num_out_args β€” number of output arguments to read, literally that count bestie 🌈
  • flags β€” message flags, using SMU_MSG_FLAG_* πŸ’…
  • timeout β€” per-message timeout in us, and 0 = use default β€” yes, microseconds, not vibes πŸŽ€

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h β€” go read these too, bestie:

  • struct smu_msg_config(9)
  • struct smu_msg_ops(9)
  • struct smu_msg_ctl(9)
  • struct smu_temp_funcs(9)
  • struct pptable_funcs(9)
  • smu_memcpy_trailing(9)

mwah πŸ’‹ this page’s footer energy is source/version ./drivers/gpu/drm/amd/pm/swsmu..., dated October 2026, and the bottom line is still struct smu_msg_args(9) β€” iconic, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from