dmub_srv_set_power_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dmub_srv_set_power_state(9) β€” the Kernel API Manual moment

okay so bestie, welcome to the dmub_srv_set_power_state(9) page from the Kernel API Manual ✨ this one's short and sweet and honestly it's giving "one job, does it well" energy πŸŽ€


🌸 NAME 🌸

dmub_srv_set_power_state β€” literally just tracking the DC power state in dmub_srv, that's the whole vibe 🫢


✨ SYNOPSIS ✨

void dmub_srv_set_power_state (struct dmub_srv *dmub , enum
       dmub_srv_power_state_type dmub_srv_power_state );

no cap, that's the whole signature πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dmub β€” the dmub service, our main character πŸ‘‘
  • dmub_srv_power_state β€” okay so the original page literally says -- undescribed -- here 😭 not me exposing the docs like this, but fr fr that's what it says, so I'm not gonna invent a description for you. it's a enum dmub_srv_power_state_type, and that's all we're given πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

So what it actually does: it stores the DC power state in dmub_srv. That's it. Lowkey iconic for how simple it is 🌈

But here's the important bit β€” the vibe check πŸ”₯: if dmub_srv is in D3, then don't send messages to DMUB. That's the actual rule, bestie, do not come for me if you skip it πŸ’€

real talk: D3 means don't be messaging DMUB, periodt.

⭐ RETURN ⭐

void β€” it returns nothing, she simply does the thing and leaves πŸ§šπŸ’œ


πŸŽ€ SEE ALSO πŸŽ€

okay this list is long long, so buckle up buttercup, we're going through all of it 🌸


and that's the page, bestie 🫢 this lil cutie came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” slay, go forth and track those power states responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from