delay_cursor_until_vupdate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ delay_cursor_until_vupdate(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one's a little function with a big job, and honestly? she's carrying the whole cursor department on her back. let's get into it 🫢


🌸 NAME 🌸

delay_cursor_until_vupdate β€” delays the cursor update if it's too close to VUPDATE πŸ’– (yes, that's the whole thing. she's literally a "wait a sec" in function form)


πŸ¦‹ SYNOPSIS πŸ¦‹

void delay_cursor_until_vupdate (struct dc *dc , struct pipe_ctx
*pipe_ctx );

like, no return value, no drama, just vibes ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • dc β€” the current DC state πŸ’œ this is the main-character struct, she knows everything about what's going on right now.
  • pipe_ctx β€” a Pipe_ctx pointer for the delayed cursor update πŸ¦‹ this is the one whose cursor is about to get held back, iykyk.

πŸ”₯ DESCRIPTION πŸ”₯

so this is a software keepout workaround, and bestie, she's a workaround with a reason 😭 what she's here to prevent is two very specific L's:

  • cursor update locking stalling out cursor updates indefinitely πŸ’€ (not the vibe)
  • old values being retained when the viewport changes in the same frame as the cursor πŸ™ˆ (also not the vibe)

the whole idea is genuinely simple and honestly kind of iconic: you calculate the remaining time from VPOS to VUPDATE ⏳ if it's too close to VUPDATE, then you stall out until VUPDATE finishes. that's it. that's the move. no cap.

TODO: optimize cursor programming to be once per frame before VUPDATE to avoid the need for this workaround πŸ‘‘ (yes she's fully aware she's a temporary queen, let her have this)

⭐ RETURN ⭐

void β€” nothing comes back, bestie. she gives, she doesn't take πŸ’…


🌈 SEE ALSO 🌈

all her friends, all absolute icons, go say hi 🫢


aaaand that's the page, bestie πŸ’– this one came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” so like, future girl summer 🌸 stay slay, stay synced to VUPDATE, and remember: when in doubt, stall out until it finishes βœ¨πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from