dmub_srv_send_inbox0_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dmub_srv_send_inbox0_cmd β€” from the Kernel API Manual, bestie ✨

okay so picture this: it's giving "one function, one job, zero drama." This is dmub_srv_send_inbox0_cmd(9) from the Kernel API Manual, and she is here to push a command straight into the DMUB's INBOX0. No cap. πŸŽ€


🌸 NAME 🌸

dmub_srv_send_inbox0_cmd β€” literally just sends a command to the DMUB using INBOX0. That's the whole personality. πŸ’–


✨ SYNOPSIS ✨

enum dmub_status dmub_srv_send_inbox0_cmd (struct dmub_srv *dmub , union
dmub_inbox0_data_register data );

she takes two things and returns a status, that's it, that's the vibe πŸ¦‹


🫢 ARGUMENTS 🫢

  • dmub β€” the dmub service, aka the main character of this whole operation πŸ‘‘
  • data β€” the data you wanna send in the INBOX0 command, aka the actual payload, the reason we're all here πŸ’Œ

🧚 DESCRIPTION 🧚

So the way this works: you send the command by writing directly to INBOX0 WPTR. Directly. No middleman, no extra steps, just you and the write pointer, iykyk. πŸ”₯


⭐ RETURN ⭐

  • DMUB_STATUS_OK β€” success, we ate, everything slayed πŸ’…
  • DMUB_STATUS_INVALID β€” this happens when hw_init is false, or when the hw function does not exist. lowkey a bummer but at least she tells you 😭

🌈 SEE ALSO 🌈

the whole friend group, gathered in one place, fr fr:

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_wait_for_inbox0_ack(9), dmub_srv_subvp_save_surf_addr(9), dmub_srv_set_power_state(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 icon lives in ./drivers/gpu/drm/amd/display/..., dated October 2026, and the manpage name is dmub_srv_send_inbox0_cmd(9) β€” go forth and write to that WPTR, mwah πŸ“πŸ¦‹βœ¨

πŸ“¦ where this page comes from