backend/drm: simplify atomic commit logic

We don't need a per-CRTC atomic request anymore. Let's make the request
per-commit so that it's easier to debug.

This is also groundwork for supporting wlr_output_test properly.
This commit is contained in:
Simon Ser 2020-05-09 18:46:17 +02:00
parent 06d5aa5780
commit 2ca3bdc35e
3 changed files with 24 additions and 49 deletions

View file

@ -57,7 +57,6 @@ struct wlr_drm_crtc {
// Atomic modesetting only
uint32_t mode_id;
uint32_t gamma_lut;
drmModeAtomicReq *atomic;
// Legacy only
drmModeCrtc *legacy_crtc;