drm_crtc_commit_wait(9)
π« drm_crtc_commit_wait(9) π«
okay bestie, welcome to the Kernel API Manual π
this one's called drm_crtc_commit_wait β a tiny lil function with main character energy. it's a 9-section kernel page, so buckle up π
β¨ NAME β¨
drm_crtc_commit_wait β literally just waits for a commit to complete. that's it. that's the whole vibe π¦
β¨ SYNOPSIS β¨
int drm_crtc_commit_wait (struct drm_crtc_commit *commit );
β¨ ARGUMENTS β¨
commitβ thedrm_crtc_commityou're waiting on. hand it over and let it cook π
β¨ DESCRIPTION β¨
so the whole point: this function waits for a given drm_crtc_commit to actually get programmed into the hardware and flipped to. like, genuinely waits. no cap. it's the "are we there yet" of atomic commits π
β¨ RETURN β¨
0on success π- a negative error code otherwise π
β¨ SEE ALSO β¨
okay this is the long one, grab a snack π«Ά β all the sibling functions living their best lives in the same neighborhood:
- Kernel file
./drivers/gpu/drm/drm_atomic.cstate lifetime(9) drm_atomic_commit_default_release(9)drm_atomic_commit_init(9)drm_atomic_commit_alloc(9)drm_atomic_commit_default_clear(9)drm_atomic_commit_clear(9)__drm_atomic_commit_free(9)drm_atomic_get_crtc_state(9)drm_atomic_get_plane_state(9)drm_atomic_get_colorop_state(9)drm_atomic_get_old_colorop_state(9)drm_atomic_get_new_colorop_state(9)drm_atomic_plane_check(9)- handling driver private state(9)
drm_atomic_private_obj_init(9)drm_atomic_private_obj_fini(9)drm_atomic_get_private_obj_state(9)drm_atomic_get_old_private_obj_state(9)drm_atomic_get_new_private_obj_state(9)drm_atomic_get_old_connector_for_encoder(9)drm_atomic_get_new_connector_for_encoder(9)drm_atomic_get_connector_for_encoder(9)drm_atomic_get_old_crtc_for_encoder(9)drm_atomic_get_new_crtc_for_encoder(9)drm_atomic_get_connector_state(9)drm_atomic_get_bridge_state(9)drm_atomic_get_old_bridge_state(9)drm_atomic_get_new_bridge_state(9)drm_atomic_add_encoder_bridges(9)drm_atomic_add_affected_connectors(9)drm_atomic_add_affected_planes(9)drm_atomic_add_affected_colorops(9)drm_atomic_check_only(9)drm_atomic_commit(9)drm_atomic_nonblocking_commit(9)drm_atomic_print_new_state(9)drm_state_dump(9)
like I said. iconic list. ate. π
ngl bestie, if you're calling this from a context where blocking is rude, that's on you β the page just says it waits, and waiting is what it does π
that's the whole page, fr fr π it lives over in ./drivers/gpu/drm and this version is dated October 2026. mwah, go wait on that commit, you got this πβ
π¦ 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