STRUCT DMUB_SRV_MEMORY_PARAMS(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐ŸŽ€ NAME ๐ŸŽ€

struct dmub_srv_memory_params โ€” the params you pass in when the driver is setting up its framebuffer, bestie โœจ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

struct dmub_srv_memory_params {
    const struct dmub_srv_region_info *region_info;
    void *cpu_fb_addr;
    void *cpu_gart_addr;
    uint64_t gpu_fb_addr;
    uint64_t gpu_gart_addr;
    const enum dmub_window_memory_type *window_memory_type;
 };

Ok so that's the whole struct, laid out exactly like that โ€” six fields, no notes ๐Ÿ’…


๐Ÿฆ‹ Members ๐Ÿฆ‹

  • region_info โ€” the region info that the dmub service already calculated for you, no cap ๐Ÿงฎ
  • cpu_fb_addr โ€” the base CPU address for the framebuffer, like the starting point of the whole vibe
  • gpu_fb_addr โ€” the base GPU virtual address for the framebuffer, yep virtual, it's giving address translation ๐Ÿ’ซ
Just a heads up bestie: those are the members the page actually spells out. The struct up there also has cpu_gart_addr, gpu_gart_addr, and window_memory_type sitting in it โ€” iconic, but nobody wrote blurbs for them ๐Ÿ™ˆ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

Kernel file ./drivers/gpu/drm/amd/display/dmub/dmub_srv/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_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_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 read, bestie โ€” the source lives at ./drivers/gpu/drm/amd/display/..., dated October 2026, and this was the Kernel API Manual entry for struct dmub...emory_params(9). Go forth and slay your framebuffer setup ๐Ÿซถ๐Ÿ’–

๐Ÿ“ฆ where this page comes from