drm_atomic_...cking_commit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_atomic_nonblocking_commit(9) β€” the vibe check

okay so bestie, we're in the Kernel API Manual today and this one is literally the "do it but don't wait for it" commit. no cap. ✨


🌸 NAME 🌸

drm_atomic_nonblocking_commit β€” atomic nonblocking commit. she does the commit but she is not about to stand around waiting for it. main character energy only πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int drm_atomic_nonblocking_commit (struct drm_atomic_commit *state );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the atomic configuration to check. that's it, that's the whole argument, she's low maintenance πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so first thing, and this is highkey important: this function can return -EDEADLK if the driver needed to acquire more locks but ran into a deadlock. so if that happens, the caller has to do the usual w/w backoff dance and restart. yep, the whole dance. πŸ’€

all the other errors though? fatal. no takebacks, no retries, that's the end of the road fr fr.

also this function will take its own reference on state. so callers should always release their reference with drm_atomic_commit_put. like, always always. don't leave her hanging πŸ™ˆ


⭐ RETURN ⭐

0 on success, negative error code on failure. slay or don't slay, there is no in between 🫢


🌈 SEE ALSO 🌈

the whole group chat, in order:


and that's the whole page, bestie πŸ“ this lil gem lives at ./drivers/gpu/drm and the version/date stamp on it is October 2026 β€” iconic, ahead of her time fr. iykyk πŸ’œπŸ§š

πŸ“¦ where this page comes from