diff options
author | emersion <contact@emersion.fr> | 2018-09-04 19:44:44 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-09-04 19:44:44 +0200 |
commit | 017cfb0b860c55d262f6ecdfa5ad2ef773b16760 (patch) | |
tree | 5879857472a488b39e991d352558b0fdceb63050 | |
parent | b877daded11612891af0406fb43cb8bcf1e02809 (diff) |
backend/drm: log when de-allocating CRTC
-rw-r--r-- | backend/drm/drm.c | 3 | ||||
-rw-r--r-- | types/wlr_output.c | 3 |
2 files changed, 5 insertions, 1 deletions
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) { diff --git a/types/wlr_output.c b/types/wlr_output.c index 2ebf2acd..abbdab9c 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -768,7 +768,8 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor, return true; } - wlr_log(WLR_DEBUG, "Falling back to software cursor"); + wlr_log(WLR_DEBUG, "Falling back to software cursor on output '%s'", + cursor->output->name); output_cursor_damage_whole(cursor); return true; } |