STRUCT DMUB_SRV_REGION_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct dmub_srv_region_params(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” yes that Kernel API Manual, the one with all the DRM/AMD display lore β€” and today's main character is struct dmub_srv_region_params. it's giving "little struct, big job" energy ngl πŸ’…


✨ NAME ✨

struct dmub_srv_region_params β€” the params used for calculating dmub regions πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole vibe, laid out exactly:

struct dmub_srv_region_params {
    uint32_t inst_const_size;
    uint32_t bss_data_size;
    uint32_t vbios_size;
    const uint8_t *fw_inst_const;
    const uint8_t *fw_bss_data;
    const enum dmub_window_memory_type *window_memory_type;
    const struct dmub_fw_meta_info *fw_info;
 };

like, that's the struct. that's her. she's iconic and she's holding a lot of uint32_ts and const pointers 🫢


πŸ’– Members πŸ’–

so the manual only spills the tea on four of these fields β€” the rest are just sitting there looking pretty, iykyk πŸ™ˆ but here's what we do know:

  • inst_const_size β€” the size of the fw inst const section, literally that's it, that's the whole vibe ✨
  • bss_data_size β€” the size of the fw bss data section, same energy, different section πŸ’«
  • vbios_size β€” the size of the vbios data πŸ”₯
  • fw_bss_data β€” the raw firmware bss data section, no cap, it's a const uint8_t * and it's just raw bytes out here living its truth πŸŽ€
lowkey note bestie: the synopsis shows the full struct, but only these four members get a write-up here. the others are real, they're just not documented on this page, so don't come for me πŸ’€

🌈 SEE ALSO 🌈

okay this list is long long, but every single one of them ate, so here we go, no skipping, we're being thorough bestie πŸ’œ

like… forty-something cross-references?? she's connected, she knows everybody, main character energy fr fr πŸ‘‘


and that's the page bestie!! this one came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026, printed up all nice as struct dmub_srv_region_params(9) β€” go forth and calculate those regions, you've got this πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from