populate_subvp_cmd_drr_info(9)
๐ populate_subvp_cmd_drr_info(9) ๐
okay so bestie, welcome to the Kernel API Manual โจ โ this one's a little function from the kernel side of things, and honestly? it's giving behind-the-scenes main character energy. let's get into it ๐ซถ
๐ธ NAME ๐ธ
populate_subvp_cmd_drr_info โ the lil helper that populates the DRR pipe info for the DMCUB subvp command ๐
โจ SYNOPSIS โจ
void populate_subvp_cmd_drr_info (struct dc *dc , struct dc_state
*context , struct pipe_ctx *subvp_pipe , struct pipe_ctx *vblank_pipe ,
struct dmub_cmd_fw_assisted_mclk_switch_pipe_data_v2 *pipe_data );
no cap, that's the whole signature ๐ โ five args, all pointers, all business.
๐ฆ ARGUMENTS ๐ฆ
dc[in] โ pointer to thedcobject, iconic, we love her ๐context[in] โ the DC state, and it's here so we can get at the phantom stream ๐subvp_pipe[in] โ thepipe_ctxfor the SubVP pipe, the star of the show โญvblank_pipe[in] โ thepipe_ctxfor the DRR pipe, also very important, don't forget her ๐pipe_data[in] โ the pipe data that stores the VBLANK/DRR info, literally the whole point ๐
๐ DESCRIPTION ๐
so what does it actually do? bestie, it populates the DMCUB SubVP command with the DRR pipe info. every single thing you need for calculating the SubVP + DRR microschedule gets populated right here. periodt. ๐ฅ
the high level algorithm, laid out cute:
- get the timing for the SubVP pipe, the phantom pipe, and the DRR pipe ๐
- calculate the min and max vtotal that supports the SubVP + DRR microschedule ๐งฎ
- populate the
drr_infowith those min and max supported vtotal values โจ
three steps, no notes, ate and left no crumbs ๐
๐ SEE ALSO ๐
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c populate_subvp_cmd_vblank_pipe_info(9)update_subvp_prefetch_end_to_mall_start(9)populate_subvp_cmd_pipe_info(9)dc_dmub_setup_subvp_dmub_command(9)dc_send_update_cursor_info_to_dmu(9)
the whole friend group fr fr ๐ go say hi to all of them ๐ซถ
k that's the page!! it lives over in./drivers/gpu/drm/amd/display/dc, the date on it is October 2026, and the source/version line is literally just that samepopulate_subvp_cmd_drr_info(9)name again โ so yeah, this page is its own vibe check ๐ โจ bye bestie, slay responsibly ๐ฆ๐ธ
๐ฆ 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