From 017cfb0b860c55d262f6ecdfa5ad2ef773b16760 Mon Sep 17 00:00:00 2001 From: emersion Date: Tue, 4 Sep 2018 19:44:44 +0200 Subject: backend/drm: log when de-allocating CRTC --- backend/drm/drm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index a6608877..a8cf55f6 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -712,6 +712,9 @@ static void dealloc_crtc(struct wlr_drm_connector *conn) { return; } + wlr_log(WLR_DEBUG, "De-allocating CRTC %zu for output '%s'", + conn->crtc - drm->crtcs, conn->output.name); + for (size_t type = 0; type < 3; ++type) { struct wlr_drm_plane *plane = conn->crtc->planes[type]; if (plane == NULL) { -- cgit v1.2.3