STRUCT DMUB_CMD_HEADER(9)
π struct dmub_cmd_header(9) π
okay so bestie, welcome to the Kernel API Manual π this one's a kernel API page, which means it's the official documentation for a struct that lives in the Linux kernel source β no cap, that's the whole vibe. Buckle up, it's short and sweet.
β¨ NAME β¨
struct dmub_cmd_header β the Common command header fields. literally the little header block that goes at the front of commands, that's it, that's the whole job π
πΈ SYNOPSIS πΈ
here's the struct in all its glory, bestie β every field, every width, exactly as written, don't @ me:
struct dmub_cmd_header {
unsigned int type : 8;
unsigned int sub_type : 8;
unsigned int ret_status : 1;
unsigned int multi_cmd_pending : 1;
unsigned int is_reg_based : 1;
unsigned int reserved0 : 5;
unsigned int payload_bytes : 6;
unsigned int reserved1 : 2;
};
so yes, these are bitfields π the : 8 / : 1 / : 5 / : 6 / : 2 after each name is the width in bits β every single one of them is listed above verbatim, so copy them exactly and do not get creative. reserved0 and reserved1 are giving "hands off, that's not for you" energy π
π«Ά MEMBERS π«Ά
okay so here's the tea: the Members section on this page is empty π like, genuinely nothing under it in the source. No per-field write-ups, no little one-liners explaining what each bit does. The fields all live in the SYNOPSIS above and that's where you'll find them β the manpage just didn't fill this bit in. iykyk, we don't invent lore that isn't there β¨
π₯ SEE ALSO π₯
the whole friend group π«Ά every single one of these is related to struct dmub_cmd_header, and the very first entry isn't a manpage at all β it's the Kernel file ./drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h where this all lives. the rest, in order, no skips:
- Kernel file
./drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h union dmub_addr(9)struct dmub_cursor_offload_pipe_data_dcn30_v1(9)struct dmub_cursor_offload_pipe_data_dcn401_v1(9)struct dmub_cursor_offload_pipe_data_dcn60_v1(9)struct dmub_cursor_offload_pipe_data_v1(9)struct dmub_cursor_offload_payload_data_v1(9)struct dmub_cursor_offload_stream_v1(9)struct dmub_cursor_offload_v1(9)union dmub_fw_meta_feature_bits(9)struct dmub_fw_meta_info(9)union dmub_fw_meta(9)struct dmcub_trace_buf_entry(9)union dmub_fw_boot_status(9)enum dmub_fw_boot_status_bit(9)enum dmub_cursor_offload_comand_type(9)union dmub_fw_boot_options(9)enum dmub_shared_state_feature_id(9)struct dmub_shared_state_ips_fw(9)struct dmub_shared_state_ips_driver(9)struct dmub_shared_state_cursor_offload_v1(9)struct dmub_shared_state_feature_block(9)union dmub_gpint_data_register(9)enum dmub_out_cmd_type(9)struct dmub_rb_cmd_common(9)struct dmub_cmd_PLAT_54186_wa(9)struct dmub_rb_cmd_PLAT_54186_wa(9)enum dmub_cmd_mall_type(9)struct dmub_rb_cmd_mall(9)enum dmub_cmd_cab_type(9)struct dmub_rb_cmd_cab_for_ss(9)enum dmub_fams2_allow_delay_check_mode(9)enum dmub_cmd_idle_opt_type(9)struct dmub_rb_cmd_idle_opt_dcn_restore(9)struct dmub_dcn_notify_idle_cntl_data(9)struct dmub_rb_cmd_idle_opt_dcn_notify_idle(9)enum dmub_idle_opt_dc_power_state(9)struct dmub_idle_opt_set_dc_power_state_data(9)struct dmub_rb_cmd_idle_opt_set_dc_power_state(9)struct dmub_clocks(9)enum dmub_cmd_clk_mgr_type(9)struct dmub_rb_cmd_clk_mgr_notify_clocks(9)struct dmub_cmd_digx_encoder_control_data(9)struct dmub_rb_cmd_digx_encoder_control(9)struct dmub_cmd_set_pixel_clock_data(9)struct dmub_cmd_enable_disp_power_gating_data(9)struct dmub_rb_cmd_enable_disp_power_gating(9)struct dmub_dig_transmitter_control_data_v1_7(9)union dmub_cmd_dig1_transmitter_control_data(9)struct dmub_rb_cmd_dig1_transmitter_control(9)struct dmub_rb_cmd_domain_control_data(9)struct dmub_rb_cmd_domain_control(9)struct dmub_rb_cmd_dpphy_init(9)enum dp_aux_request_action(9)enum aux_return_code_type(9)enum aux_channel_type(9)struct aux_transaction_parameters(9)struct dmub_rb_cmd_hpd_sense_notify(9)enum dmub_phy_fsm_state(9)enum dmub_abm_ace_curve_type(9)enum dmub_abm_histogram_type(9)enum dmub_cmd_panel_cntl_type(9)struct dmub_cmd_panel_cntl_data(9)struct dmub_rb_cmd_panel_cntl(9)struct dmub_cmd_cable_id_input(9)struct dmub_cmd_cursor_offload_init_data(9)struct dmub_rb_cmd_cursor_offload_init(9)struct dmub_cmd_cursor_offload_stream_data(9)struct dmub_rb_cmd_cursor_offload_stream_cntl(9)union dmub_rb_cmd(9)union dmub_rb_out_cmd(9)struct dmub_rb_init_params(9)struct dmub_rb(9)
like, that's an iconic amount of cross-references, we love a well-connected struct π
aaaand that's the page!! mwah π quick sign-off: this beauty comes from the source path ./drivers/gpu/drm/amd/display/..., it's dated October 2026, and the footer still calls it struct dmub_cmd_header(9) because of course it does. go read dmub_cmd.h bestie, ily, bye π¦π
π¦ 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