STRUCT SMU_MSG_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the struct smu_msg_ops(9) page from the Kernel API Manual β€” this one is literally all about IP-level protocol operations ✨ no cap, it's the little struct that holds the operation hooks for sending messages, waiting on replies, decoding replies, and sending debug messages πŸ’…


✨ SYNOPSIS ✨

struct smu_msg_ops {
    int (*send_msg)(struct smu_msg_ctl *ctl, struct smu_msg_args *args);
    int (*wait_response)(struct smu_msg_ctl *ctl, u32 timeout_us);
    int (*decode_response)(u32 resp);
    int (*send_debug_msg)(struct smu_msg_ctl *ctl, u32 msg, u32 param);
};

πŸŽ€ Members πŸŽ€

  • send_msg β€” send message protocol πŸ’Œ like, this is the hook that handles the actual sending vibe.
  • wait_response β€” wait for response (for split send/wait cases) ⏳ yes bestie, when send and wait are split apart, this is the one holding the line.
  • decode_response β€” Convert response register value to errno πŸ” it takes the raw response register value and turns it into an errno, iconic behavior fr fr.
  • send_debug_msg β€” send debug message πŸ› for when you need that debug-message energy.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h β€” plus these besties: struct smu_msg_config(9), struct smu_msg_args(9), struct smu_msg_ctl(9), struct smu_temp_funcs(9), struct pptable_funcs(9), and smu_memcpy_trailing(9) 🫢 go read them, iykyk.

okay that's the whole page πŸ’– it comes from the source/version line ./drivers/gpu/drm/amd/pm/swsmu..., dated October 2026, and yes ma'am it's still the struct smu_msg_ops(9) manual page β€” periodt πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from