dc_dmub_srv_..._power_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

dc_dmub_srv_notify_fw_dc_power_state β€” okay so this one literally notifies the firmware of the DC power state πŸ’… that's the whole job. It's page dc_dmub_srv_..._power_state(9) out of the Kernel API Manual, and yes bestie, section 9, we're in kernel land now 🫢


🌸 SYNOPSIS 🌸

void dc_dmub_srv_notify_fw_dc_power_state (struct dc_dmub_srv
*dc_dmub_srv , enum dc_acpi_cm_power_state power_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • dc_dmub_srv β€” -- undescribed -- 😭 the docs genuinely just left this one blank, no cap. I'm not gonna make something up for you, that's not the vibe.
  • power_state β€” -- undescribed -- πŸ™ˆ also blank in the official listing. The DESCRIPTION section does spill a little tea about both of these though, so keep reading πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the thing that makes this function different from dc_dmub_srv_set_power_state: this one actually needs to access hardware in order to message DMCUB about the state transition πŸ”₯ like, it's not just bookkeeping, it's out here touching real HW.

Timing matters, bestie β€” it should come after the D0 exit and before the D3 set power state ⭐ get that order wrong and, well, the manpage doesn't say, but the manpage also isn't gonna hold your hand on that one πŸ’€

And for the record, here's the lowkey parameter recap that's tucked into the description:

  • dc_dmub_srv β€” the DC DMUB service pointer
  • power_state β€” the DC power state

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file that started it all:

./drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h

And the whole friend group 🫢:


ngl there's no RETURN VALUE section and no error list here, so this one's giving "void and unbothered" energy πŸ’œ don't go looking for an exit status, it's not hiding anywhere, promise 🀞

Okay that's the whole page, mwah πŸ’‹ it lives at ./drivers/gpu/drm/amd/display/dc, dated October 2026, and it's filed under dc_dmub_srv_..._power_state(9) β€” go be a main character with your power states, bestie πŸŒˆβœ¨πŸ“

πŸ“¦ where this page comes from