wlroots/backend/drm
Simon Ser 15d8f1806e backend/drm: introduce pending and current CRTC state
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.
2020-05-26 23:34:37 +02:00
..
atomic.c backend/drm: introduce pending and current CRTC state 2020-05-26 23:34:37 +02:00
backend.c backend/drm: make drm_connector_set_mode take a wlr_drm_connector 2020-05-26 23:34:37 +02:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: introduce pending and current CRTC state 2020-05-26 23:34:37 +02:00
legacy.c backend/drm: introduce pending and current CRTC state 2020-05-26 23:34:37 +02:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: add support for adaptive_sync_enabled 2020-03-06 21:32:58 +01:00
renderer.c render/egl: unset current context after swapping buffers 2020-05-20 17:39:34 +02:00
util.c backend/drm: introduce wlr_drm_fb 2020-04-28 09:54:52 +02:00