get_effective_vblank_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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