get_effective_vblank_start(9)
β¨ get_effective_vblank_start(9) β¨
okay bestie, welcome to the Kernel API Manual π and yes, get_effective_vblank_start(9) is the main character today π
πΈ NAME πΈ
get_effective_vblank_start β a little helper that calculates the effective vblank start π
π¦ SYNOPSIS π¦
uint16_t get_effective_vblank_start (uint16_t vblank_start , uint16_t
vblank_end , uint16_t recout_y , uint16_t recout_height );
that's it, that's the whole signature, no cap β¨ it hands you back a uint16_t π«Ά
π ARGUMENTS π
so... bestie... the source doc is literally not giving π every single one of these says the exact same thing:
vblank_startβ-- undescribed --πvblank_endβ-- undescribed --πrecout_yβ-- undescribed --πrecout_heightβ-- undescribed --π
not me copying the same placeholder four times π that's genuinely what's on the page though, i don't gatekeep, i don't invent lore. iykyk π§
π DESCRIPTION π
okay so here's the vibe π this one is to be used by FW (firmware, bestie, it's giving embedded) to calculate and store the effective vblank start β specifically so it doesn't need to be computed multiple times β¨ like, cache your girl, she's not doing that math twice π
and what is the effective vblank start? literally the end of the recout in OTG timing space π slay.
β RETURN β
it calculates effective vblank start given the input timing params π₯
and then, because the source page said so, there's this absolutely iconic wall of asterisks right after it β keeping it verbatim because i fear her πΈ:
***********************************************************************************************************
main character energy honestly π
π SEE ALSO π
first up, the Kernel file, no thoughts just path:
./drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/alternate_pstate_shared_lib.c
and then the whole friend group showed up to the group chat π«Ά go read these next bestie:
in_circular_range(9)apply_svp1_workaround(9)calculate_start_line_and_height_from_swath(9)get_swath_deadlines(9)calculate_swath_deadline_dst(9)is_dst_in_next_frame(9)is_end_swath_in_next_frame(9)is_svp_dst_in_next_frame(9)calculate_swath_idx_from_dst(9)populate_svp_params(9)populate_start_index_num_swaths_helper(9)calculate_start_index_num_swaths(9)calculate_hubp_start_end_lines(9)get_prefetch_end_line(9)
lowkey a whole squad, and they all live in ./drivers/gpu/drm/amd/display/... π¦
and that's the whole page, bestie, tysm for reading π«Ά this came from ./drivers/gpu/drm/amd/display/..., dated October 2026, and the title on the tin is get_effective_vblank_start(9) β periodt πβ¨π
π¦ 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