drm_client_m...t_for_vblank(9)
π
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β thendexof 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 π
- Kernel file
./drivers/gpu/drm/drm_client_modeset.c drm_client_modeset_probe(9)drm_client_rotation(9)drm_client_modeset_check(9)drm_client_modeset_commit_locked(9)drm_client_modeset_commit(9)drm_client_modeset_dpms(9)
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
- 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