STRUCT SMU_MSG_OPS(9)
π 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 anerrno, 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), andsmu_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
- 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