dc_dmub_srv_..._power_state(9)
β¨ 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 pointerpower_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 π«Ά:
dc_dmub_srv_set_power_state(9)dc_wake_and_execute_dmub_cmd(9)dc_wake_and_execute_dmub_cmd_list(9)dc_wake_and_execute_gpint(9)struct ips_residency_info(9)dc_dmub_srv_cursor_offload_init(9)dc_dmub_srv_control_cursor_offload(9)dc_dmub_srv_program_cursor_now(9)dc_dmub_srv_is_cursor_offload_enabled(9)dc_dmub_srv_boot_time_crc_init(9)dc_dmub_srv_release_hw(9)dc_dmub_srv_log_preos_dmcub_info(9)dc_dmub_srv_ihc_set_dig_hdcp_interrupt_dest(9)dc_dmub_srv_get_fams2_debug_meta(9)
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
- 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