mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05: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;
|
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) {
|
for (size_t type = 0; type < 3; ++type) {
|
||||||
struct wlr_drm_plane *plane = conn->crtc->planes[type];
|
struct wlr_drm_plane *plane = conn->crtc->planes[type];
|
||||||
if (plane == NULL) {
|
if (plane == NULL) {
|
||||||
|
|
|
||||||
|
|
@ -768,7 +768,8 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor,
|
||||||
return true;
|
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);
|
output_cursor_damage_whole(cursor);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue