update_subv...o_mall_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯


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