From 0b5c75f540084441c6e97df2c89513ca1b7ec33f Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 7 Feb 2022 14:36:18 +0200 Subject: [PATCH] backend-drm/state-propose: Missing some newlines It would look much better if the debug is printed separately. Signed-off-by: Marius Vlad --- libweston/backend-drm/state-propose.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libweston/backend-drm/state-propose.c b/libweston/backend-drm/state-propose.c index b998268c..9086cbc4 100644 --- a/libweston/backend-drm/state-propose.c +++ b/libweston/backend-drm/state-propose.c @@ -459,7 +459,7 @@ drm_output_find_plane_for_view(struct drm_output_state *state, if (wl_shm_buffer_get_format(shmbuf) != WL_SHM_FORMAT_ARGB8888) { drm_debug(b, "\t\t\t\t[view] not placing view %p on " "plane; SHM buffers must be ARGB8888 for " - "cursor view", ev); + "cursor view\n", ev); pnode->try_view_on_plane_failure_reasons |= FAILURE_REASONS_FB_FORMAT_INCOMPATIBLE; return NULL; @@ -468,7 +468,7 @@ drm_output_find_plane_for_view(struct drm_output_state *state, if (buffer->width > b->cursor_width || buffer->height > b->cursor_height) { drm_debug(b, "\t\t\t\t[view] not assigning view %p to plane " - "(buffer (%dx%d) too large for cursor plane)", + "(buffer (%dx%d) too large for cursor plane)\n", ev, buffer->width, buffer->height); pnode->try_view_on_plane_failure_reasons |= FAILURE_REASONS_FB_FORMAT_INCOMPATIBLE; @@ -542,7 +542,7 @@ drm_output_find_plane_for_view(struct drm_output_state *state, if (drm_output_check_plane_has_view_assigned(plane, state)) { drm_debug(b, "\t\t\t\t[plane] not trying plane %d: " - "another view already assigned", + "another view already assigned\n", plane->plane_id); continue; }