smu_msg_send_async_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this page is smu_msg_send_async_locked(9), straight out of the Kernel API Manual, and it's literally about sending a message asynchronously while the caller already holds the lock. That's the vibe, bestie πŸ’…


✨ SYNOPSIS ✨

int smu_msg_send_async_locked (struct smu_msg_ctl *ctl , enum smu_message_type msg , u32 param );

πŸ’… ARGUMENTS πŸ’…

  • ctl β€” the message control block. Main character energy, honestly 🫢
  • msg β€” the message type.
  • param β€” the message parameter.

πŸ¦‹ DESCRIPTION πŸ¦‹

Sends an SMU message and does not wait for a response. No cap, it just sends it and moves on.

The caller must already hold ctl->lock, and later the caller has to call smu_msg_wait_response to get the result. That's the whole requirement, periodt ✨


🌸 RETURN 🌸

0 on success, negative errno on failure. Slay πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

okay bye bestie πŸ’– β€” this iconic page lives under ./drivers/gpu/drm/amd/pm/swsmu, dated October 2026, and it's smu_msg_send_async_locked(9), periodt 🫢

πŸ“¦ where this page comes from