backend/drm: log when de-allocating CRTC

This commit is contained in:
emersion 2018-09-04 19:44:44 +02:00
parent b877daded1
commit 017cfb0b86
2 changed files with 5 additions and 1 deletions

View File

@ -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) {

View File

@ -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;
}