dpu_encoder_..._commit_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpu_encoder_..._commit_done(9) πŸ’…

🌸 NAME 🌸

okay bestie, this is the Kernel API Manual entry for dpu_encoder_wait_for_commit_done β€” wait for encoder to flush pending state. periodt πŸ’–


✨ SYNOPSIS ✨

no edits, no games β€” here's the signature exactly as it is:

int dpu_encoder_wait_for_commit_done (struct drm_encoder *drm_enc );

πŸŽ€ ARGUMENTS πŸŽ€

  • drm_enc β€” encoder pointer. that's the whole argument, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vibe is: wait for hardware to have flushed the current pending changes to hardware at a vblank or CTL_START ✨

physical encoders will map this differently depending on the type: vid mode -> vsync_irq, cmd mode -> CTL_START. lowkey iconic how it just switches up like that πŸ’…


🌈 RETURN 🌈

  • 0 on success πŸŽ‰
  • -EWOULDBLOCK if already signaled πŸ‘€
  • error otherwise 😭

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group is here, iykyk:


kisses from ./drivers/gpu/drm/msm/disp/dpu1, dated October 2026, page dpu_encoder_..._commit_done(9) β€” slay and stay hydrated 🫢✨

πŸ“¦ where this page comes from