rockchip_drm_wait_vact_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rockchip_drm_wait_vact_end(9) πŸ’–

okay so this is a page from the Kernel API Manual, and bestie, we're diving into the Rockchip DRM world β€” specifically rockchip_drm_wait_vact_end. it's giving "tiny function, big job" energy. let's get into it ✨


🌸 NAME 🌸

rockchip_drm_wait_vact_end β€”

so here's the thing: the original NAME line has literally nothing after the dash. no description, no blurb, nada. the man page just... left it blank 😭. so that's what we're working with, fr fr. the function name is the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

int rockchip_drm_wait_vact_end (struct drm_crtc *crtc , unsigned int
mstimeout );

that's the whole call, bestie β€” returns an int, takes a struct drm_crtc * and an unsigned int. no cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • crtc β€” the CRTC to enable line flag πŸ‘‘ (that's the one you're passing in, main character energy)
  • mstimeout β€” millisecond for timeout ⏱️ (yes, milliseconds β€” don't come at me with seconds, it will not slay)

πŸ”₯ DESCRIPTION πŸ”₯

Wait for vact_end line flag irq or timeout.

that's it, that's the whole moment πŸ’… β€” you're literally waiting for that vact_end line flag irq to come through, or for the timeout to hit, whichever gets there first. the way that's the entire description and honestly? iconic.


⭐ RETURN ⭐

  • Zero on success πŸŽ‰
  • negative errno on failure 😭

so like, 0 means you ate and left no crumbs, and anything negative means something went sideways and you should check that errno, iykyk.


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/rockchip/rockchip_drm_vop.c πŸ“ β€” go read the source, bestie, that's where the real lore lives

πŸ’€ quick vibe check: the man page gives you exactly two return outcomes β€” zero or negative errno β€” so don't go inventing any heroic in-between states, okay? periodt. πŸ’…

and that's the whole page, bestie! 🧚 this little gem comes to you from the ./drivers/gpu/drm/rockchip source, dated October 2026 β€” so mark your calendar and stan responsibly πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from