STRUCT SMU_MSG_CONFIG(9)
β¨ NAME β¨
struct smu_msg_config β IP-level register configuration π
okay so real quick, bestie: this page lives in the Kernel API Manual, section 9 (that's the (9) in the corner, iykyk). It's the whole tea on how this struct holds the register layout for one IP block. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
struct smu_msg_config {
u32 msg_reg;
u32 resp_reg;
u32 arg_regs[SMU_MSG_MAX_ARGS];
int num_arg_regs;
u32 debug_msg_reg;
u32 debug_resp_reg;
u32 debug_param_reg;
};
no cap, that's the whole shape of it. every field is a u32 except num_arg_regs, which is a plain int β she's different like that π
π Members π
okay so let's meet the cast, one by one. main character energy all around β
msg_regβ the message register offset. that's the spot where the message itself goes π¦resp_regβ the response register offset. where the reply comes back to you, like a text you've been waiting for πarg_regsβ the argument register offsets. yes, plural, it's an array β up toSMU_MSG_MAX_ARGSof them, so pack your args in there πΈnum_arg_regsβ the number of argument registers available. this is the little counter that tells you how many slots ofarg_regsare actually doing something π (and yeah, she's anint, not au32, we love a quirky queen)debug_msg_regβ the debug message register offset. same vibe asmsg_regbut for debug β¨debug_resp_regβ the debug response register offset. the debug reply lives here πdebug_param_regβ the debug parameter register offset. where the debug parameters hang out π
π¦ SEE ALSO π¦
bestie you are not gonna wanna miss the rest of the lore. the kernel file lives at ./drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h, and it's all friends-of-the-family over there:
- struct
smu_msg_args(9) - struct
smu_msg_ops(9) - struct
smu_msg_ctl(9) - struct
smu_temp_funcs(9) - struct
pptable_funcs(9) smu_memcpy_trailing(9)
go read them all, literally obsessed π§
lowkey necessary reminder: the register offsets here are offsets, not values β nothing in this struct says what to put in them, it just tells you where they are π
okay that's the whole page, bestie!! quick sign-off before you go: this came from ./drivers/gpu/drm/amd/pm/swsmu... and the date on it is October 2026, and the page is struct smu_msg_config(9) β slay, 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