update_subv...o_mall_start(9)
π update_subvp_prefetch_end_to_mall_start β like, the Kernel API Manual page, bestie β¨
okay so this one is a 9 section page (kernel API vibes, iykyk) and the function is update_subvp_prefetch_end_to_mall_start β yes that's a whole mouthful, we love a long name π«Ά
πΈ NAME πΈ
update_subvp_prefetch_end_to_mall_start β the helper bestie for the SubVP + SubVP case β¨ lowkey crucial, no cap.
π SYNOPSIS π
void update_subvp_prefetch_end_to_mall_start (struct dc *dc , struct
dc_state *context , union dmub_rb_cmd *cmd , struct pipe_ctx
*subvp_pipes[] );
literally just copy that signature exactly, bestie, don't retype it from memory π
π¦ ARGUMENTS π¦
dc[in]β the current dc state, like the state you're in right now πcontext[in]β the new dc state, the glow-up version β¨cmd[in]β the DMUB cmd that's gonna get populated with SubVP info πsubvp_pipes[in]β array of SubVP pipes, and heads up: it should always be length 2 π (yes, exactly 2, not 3, not 1, two.)
π DESCRIPTION π
okay so here's the tea π β for SubVP + SubVP, we use a single vertical interrupt to start the microschedule for both SubVP pipes. main character energy, one interrupt doing double duty π
but for that to actually work correctly? the MALL REGION of both SubVP pipes has to start at the same time. like, synchronized. together. periodt. π
so what this function does: it lengthens the prefetch end to mall start delay of the SubVP pipe that has the shorter prefetch πΈ β so that both MALL REGION's will start at the same time. it's giving matchmaker, honestly. it's giving "we're leaving at the same time whether you're ready or not" π§
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/display/dc/dc_dmub_srv.cβ go read the source, bestie, it's all there π populate_subvp_cmd_drr_info(9)populate_subvp_cmd_vblank_pipe_info(9)populate_subvp_cmd_pipe_info(9)dc_dmub_setup_subvp_dmub_command(9)dc_send_update_cursor_info_to_dmu(9)
and that's the whole page, bestie π«Ά this one lives over in ./drivers/gpu/drm/amd/display/dc, it's from the Kernel API Manual crowd, and it's dated October 2026 β β slay, go read the other five functions too πππ
π¦ 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