populate_su...nk_pipe_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ populate_subvp_cmd_vblank_pipe_info ✨

okay bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes this page is literally titled populate_su...nk_pipe_info(9) up top because the terminal was being a little dramatic and truncated it, but the real full name is right here, no cap πŸ’…


🌸 NAME 🌸

populate_subvp_cmd_vblank_pipe_info β€” the little helper that populates VBLANK pipe info for the DMUB subvp command 🫢


✨ SYNOPSIS ✨

void populate_subvp_cmd_vblank_pipe_info (struct dc *dc , struct
dc_state *context , union dmub_rb_cmd *cmd , struct pipe_ctx
*vblank_pipe , uint8_t cmd_pipe_index );

like, that's the whole vibe. five args, one void return, zero drama (well… mostly) πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dc β€” [in] the current dc state, iykyk 🌈
  • context β€” [in] the new dc state, the fresh one, the main character πŸ‘‘
  • cmd β€” [in] the DMUB cmd that's about to get populated with SubVP info ✨
  • vblank_pipe β€” [in] the pipe_ctx for the VBLANK pipe πŸŽ€
  • cmd_pipe_index β€” [in] the index for the pipe array in the DMCUB SubVP cmd πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so basically πŸ’€ β€” this function populates the DMCUB SubVP command with VBLANK pipe info. that's the whole task, and she ate, fr fr.

all the information you need to calculate the microschedule for the SubVP + VBLANK case is stored in the pipe_data (that's subvp_data and vblank_data, both of them, don't forget πŸ“).

also β€” and this is the lil plot twist β€” it checks if the VBLANK pipe is a DRR display. and if it is? it makes a call to populate drr_info. slay πŸ’…


🧚 SEE ALSO 🧚

like, go read those too bestie, they're all in the group chat πŸ’¬


ngl this one's short but she's doing important work β€” microschedules don't calculate themselves πŸ’–

okay that's the page!! mwah 🫢 this iconic lil number lives in ./drivers/gpu/drm/amd/display/dc, dated October 2026, and the manual name is Kernel API Manual β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from