drm_client_m...t_for_vblank(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_client_m...t_for_vblank(9) πŸ’…

okay bestie, this one is straight outta the Kernel API Manual and it's all about waiting for that sweet, sweet VBLANK ✨


πŸŽ€ NAME πŸŽ€

drm_client_modeset_wait_for_vblank β€” wait for the next VBLANK to occur πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int drm_client_modeset_wait_for_vblank (struct drm_client_dev *client ,
unsigned int crtc_index );

🌸 ARGUMENTS 🌸

  • client β€” the DRM client πŸ‘‘
  • crtc_index β€” the ndex of the CRTC to wait on (yes, ndex πŸ’€ iykyk)

✨ DESCRIPTION ✨

okay so literally: this blocks the caller until the given CRTC has seen a VBLANK 🫢

If the CRTC is disabled, it does nothing β€” no drama, no cap πŸ™ˆ

heads up bestie: if there's another DRM master present, this fails with -EBUSY πŸ’€ dramatic but true.

πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code otherwise ⭐


🌈 SEE ALSO 🌈


mwah πŸ’– this lil page comes from ./drivers/gpu/drm, dated October 2026, and it's all about drm_client_m...t_for_vblank(9) β€” periodt πŸ‘‘βœ¨

πŸ“¦ where this page comes from