From 2ca3bdc35e6a712917ceedeaeea99b6265b1ebae Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 9 May 2020 18:46:17 +0200 Subject: 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. --- backend/drm/drm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'backend/drm/drm.c') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 8482b368..d0928853 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -296,7 +296,6 @@ void finish_drm_resources(struct wlr_drm_backend *drm) { for (size_t i = 0; i < drm->num_crtcs; ++i) { struct wlr_drm_crtc *crtc = &drm->crtcs[i]; - drmModeAtomicFree(crtc->atomic); drmModeFreeCrtc(crtc->legacy_crtc); if (crtc->mode_id) { -- cgit v1.2.3