dmub_srv_set_power_state(9)
π 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 aenum 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 πΈ
- Kernel file
./drivers/gpu/drm/amd/display/dmub/dmub_srv.h DMUB interface and operation(9)struct dmub_region(9)struct dmub_window(9)struct dmub_fb(9)struct dmub_srv_region_params(9)struct dmub_srv_fw_meta_info_params(9)struct dmub_srv_region_info(9)struct dmub_srv_memory_params(9)struct dmub_srv_fb_info(9)struct dmub_soc_fb_info(9)struct dmub_diagnostic_data(9)struct dmub_preos_info(9)struct dmub_srv_base_funcs(9)struct dmub_srv_hw_funcs(9)struct dmub_srv_create_params(9)struct dmub_srv(9)struct dmub_notification(9)dmub_srv_create(9)dmub_srv_destroy(9)dmub_srv_calc_region_info(9)dmub_srv_has_hw_support(9)dmub_srv_is_hw_init(9)dmub_srv_hw_init(9)dmub_srv_hw_reset(9)dmub_srv_fb_cmd_queue(9)dmub_srv_fb_cmd_execute(9)dmub_srv_wait_for_hw_pwr_up(9)dmub_srv_wait_for_auto_load(9)dmub_srv_wait_for_phy_init(9)dmub_srv_wait_for_pending(9)dmub_srv_wait_for_idle(9)dmub_srv_send_gpint_command(9)dmub_srv_get_gpint_response(9)dmub_srv_get_gpint_dataout(9)dmub_srv_flush_buffer_mem(9)dmub_srv_get_fw_boot_status(9)dmub_srv_send_inbox0_cmd(9)dmub_srv_wait_for_inbox0_ack(9)dmub_srv_subvp_save_surf_addr(9)dmub_srv_reg_cmd_execute(9)dmub_srv_cmd_get_response(9)dmub_srv_sync_inboxes(9)dmub_srv_wait_for_inbox_free(9)dmub_srv_update_inbox_status(9)dmub_srv_get_preos_info(9)dmub_srv_get_fw_meta_info_from_raw_fw(9)
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
- 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