STRUCT DMUB_SRV_FB_INFO(9)
π¦ struct dmub_srv_fb_info(9) β Kernel API Manual π
okay so this is the glow-up of the struct dmub_srv_fb_info(9) page from the Kernel API Manual, and honestly? it's giving "tiny struct, big responsibilities" β¨
πΈ NAME πΈ
struct dmub_srv_fb_info β the little output that hands your fb info back from the dmub service π«Ά
β¨ SYNOPSIS β¨
struct dmub_srv_fb_info {
uint8_t num_fb;
struct dmub_fb fb[DMUB_WINDOW_TOTAL];
};
π Members π
so the struct literally has two things in it, and yes we're listing them exactly as-is, no skips:
uint8_t num_fbβ yep, that's the count, bestie πstruct dmub_fb fb[DMUB_WINDOW_TOTAL]β the whole array of fbs, sized byDMUB_WINDOW_TOTALπ
π Description π
okay so picture this: this struct is the output from the dmub service helper π«Ά and the driver uses it to prepare dmub_fb entries that can then be passed into the dmub hw init service. it's literally the handoff. the relay baton. main character energy π₯
and here's the vibe check that matters β it assumes that all regions live inside the same framebuffer, and that they've been set up according to the region_info generated by the dmub service. no cap, if that assumption isn't holding, this isn't your girl π
fr fr, that "assumes" line is load-bearing. all regions in the same framebuffer, set up per the region_info from the dmub service. that's the deal. π
π SEE ALSO π
everything below is exactly the reference crew β no additions, no dropouts, periodt π
- Kernel file
./drivers/gpu/drm/amd/display/dmub/dmub_srv.hDMUB 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_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_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)
that's the whole page, bestie, nothing left out π and for the sign-off: this lil beauty comes from ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's filed under struct dmub_srv_fb_info(9) π slay β¨
π¦ 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