feat: add linux-drm-syncobj-v1 support#3956
Conversation
|
finally! |
|
Cc previous attempt in #1792 |
|
Can't wait for fifo as well! Thank you for this. |
|
I reviewed some of the previous attempts, including cmeissl’s work, before opening this PR. My read is that the Smithay delayed-blocker change is an elegant way to model niri’s transaction handling and reduce duplicated pre-commit hook handling, but it is orthogonal to drm-syncobj itself. I think it is valuable enough to be handled as a separate PR rather than making explicit sync depend on it. To make the split more concrete: #1449 was opened as a PoC and tracks Smithay#1720, which changes the transaction/blocker model. That seems like a broader compositor/Smithay design change rather than a requirement for exposing This PR is intentionally aiming for the least intrusive path for drm-syncobj support. The acquire-point / dmabuf readiness logic is encapsulated in the |
Adds
linux-drm-syncobj-v1support for dmabuf-backed surfaces.Closes #843
Testing
exposing DRM syncobj protocol.Not tested:
This PR intentionally keeps drm-syncobj support separate from the delayed-blocker / transaction cleanup work in #1449 / Smithay#1720. The acquire-point / dmabuf readiness logic is encapsulated in the
dmabuf_readinessmodule, while the existing pre-commit hook structure stays mostly unchanged. That keeps the code shape close to the current implementation and should avoid making a future delayed-blocker / transaction cleanup harder.