delay_cursor_until_vupdate(9)
β¨ 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β aPipe_ctxpointer 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 π
- Kernel file
./drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.cβ go read the source, it's giving lore π dcn10_dpp_pg_control(9)dcn10_hubp_pg_control(9)dcn10_plane_atomic_power_down(9)dcn10_reset_surface_dcc_and_tiling(9)
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
- 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