drm_crtc_commit_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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 β€” the drm_crtc_commit you'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 ✨

  • 0 on 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:

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