dc_wake_and...mub_cmd_list(9)
π dc_wake_and_execute_dmub_cmd_list(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 (kernel functions, iykyk). today's main character is dc_wake_and_execute_dmub_cmd_list β say that five times fast, I dare you π she's a wrapper, she's a whole vibe, she handles a list of DMUB commands and wakes the hardware up first. iconic behavior honestly π«Ά
β¨ SYNOPSIS β¨
bool dc_wake_and_execute_dmub_cmd_list (const struct dc_context *ctx ,
unsigned int count , union dmub_rb_cmd *cmd , enum dm_dmub_wait_type
wait_type );
she returns a bool, she takes four args, she's lowkey doing the most π
π ARGUMENTS π
ctxβ the DC context, aka the whole situation you're operating in πΈcountβ how many commands you're sending and/or receiving, like a little headcount for your command party πcmdβ the actual array of commands to send. yes bestie, an array β this is the list version, we're not doing just one π¦wait_typeβ tells her how to wait for the execution to finish, aka the vibe of the waiting portion β³
π DESCRIPTION π
so here's the tea β β if the DMCUB hardware was asleep, she wakes the DMUB up before running the command, and then she attempts to re-enter the sleep state if the command submission went through successfully. like, she wakes it, does the thing, and tucks it back in π΄β¨ no cap.
she's the preferred command submission interface provided the DC lock is acquired β that caveat is doing heavy lifting, don't skip it, bestie π
and real talk: if you don't use her, entering and exiting out of idle power optimizations would need to be performed manually through dc_allow_idle_optimizations. so likeβ¦ just use her fr fr π
β RETURN β
trueβ command submission succeeded, slay πfalseβ it did not, and we simply do not talk about it π
π SEE ALSO π
the whole friend group, gathered for the group chat π«Ά the kernel file lives at ./drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h, and here's everyone else:
dc_dmub_srv_set_power_state(9)dc_dmub_srv_notify_fw_dc_power_state(9)dc_wake_and_execute_dmub_cmd(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)
π§ sign-off time: this page lives in./drivers/gpu/drm/amd/display/dc, dated October 2026, and it's pagedc_wake_and...mub_cmd_list(9)of the Kernel API Manual. mwah, go read the source 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