Previously, we only had the pending state (crtc->pending, crtc->mode and crtc->active). This causes issues when a commit fails: the pending state is left as-is, and the next commit may read stale data from it. This will also cause issues when implementing test-only commits: we need to rollback the pending CRTC state after a test-only commit. Introduce separate pending and current CRTC states. Properly update the current state after a commit. |
||
|---|---|---|
| .. | ||
| atomic.c | ||
| backend.c | ||
| cvt.c | ||
| drm.c | ||
| legacy.c | ||
| meson.build | ||
| properties.c | ||
| renderer.c | ||
| util.c | ||