smu_cmn_wait_for_response(9)
β¨ smu_cmn_wait_for_response(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this one's called smu_cmn_wait_for_response, and it is literally just what it says on the tin: you're waiting on the SMU to text back. π«Ά picture you double-texted the silicon and now you're staring at the read receipt. that's the whole vibe.
πΈ NAME πΈ
smu_cmn_wait_for_response β wait for response from the SMU. no cap, that's it, that's the function π
π¦ SYNOPSIS π¦
int smu_cmn_wait_for_response (struct smu_context *smu );
π ARGUMENTS π
smuβ pointer to an SMU context β¨ (your little handshake with the SMU, basically)
π DESCRIPTION π
Wait for status from the SMU. you send the message, then you wait, and the waiting is the whole personality of this function. β³
It returns 0 on success, and -errno on error β and that -errno is doing double duty: it tells you the execution status and the result of the message you've been waiting for. π― so like, it's not just "did it work", it's "here's the tea". if you want the full breakdown of what each -errno actually means, go see smu_msg_v1_decode_response β that's the one who spills the details. iykyk π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c smu_cmn_send_smc_msg_with_params_ext(9)smu_cmn_send_smc_msg_with_param(9)smu_msg_v1_send_msg(9)smu_msg_send_async_locked(9)smu_cmn_disable_all_features_with_exception(9)smu_cmn_get_pptable_from_firmware(9)
ngl bestie, read the -errno docs before you start guessing. guessing is not a debugging strategy. π
okay that's the page!! π this masterpiece lives in ./drivers/gpu/drm/amd/pm/swsmu, it's stamped October 2026, and if you ever need to find it again just yell smu_cmn_wait_for_response(9) into the void and it'll come running πβ¨π
π¦ 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