mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
backend/drm: log when de-allocating CRTC
This commit is contained in:
parent
b877daded1
commit
017cfb0b86
2 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue