From 23257c073fa944bb9d50a8818bfd1253501e17a1 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 7 Dec 2021 17:32:01 +0000 Subject: [PATCH] backend-drm: Minor comment rewording Signed-off-by: Daniel Stone --- libweston/backend-drm/state-propose.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libweston/backend-drm/state-propose.c b/libweston/backend-drm/state-propose.c index df6b143d..83f6417b 100644 --- a/libweston/backend-drm/state-propose.c +++ b/libweston/backend-drm/state-propose.c @@ -726,18 +726,18 @@ drm_output_prepare_plane_view(struct drm_output_state *state, continue; if (drm_output_check_plane_has_view_assigned(plane, state)) { - drm_debug(b, "\t\t\t\t[plane] not adding plane %d to" - " candidate list: view already assigned " - "to a plane\n", plane->plane_id); + drm_debug(b, "\t\t\t\t[plane] not trying plane %d: " + "another view already assigned", + plane->plane_id); continue; } if (plane->zpos_min >= current_lowest_zpos) { - drm_debug(b, "\t\t\t\t[plane] not adding plane %d to " - "candidate list: minimum zpos (%"PRIu64") " - "plane's above current lowest zpos " - "(%"PRIu64")\n", plane->plane_id, - plane->zpos_min, current_lowest_zpos); + drm_debug(b, "\t\t\t\t[plane] not trying plane %d: " + "plane's minimum zpos (%"PRIu64") above " + "current lowest zpos (%"PRIu64")\n", + plane->plane_id, plane->zpos_min, + current_lowest_zpos); continue; } @@ -758,9 +758,8 @@ drm_output_prepare_plane_view(struct drm_output_state *state, (!fb || !(fb->plane_mask & (1 << plane->plane_idx)))) { *try_view_on_plane_failure_reasons |= FAILURE_REASONS_FB_FORMAT_INCOMPATIBLE; - drm_debug(b, "\t\t\t\t[plane] not adding plane %d to " - "candidate list: invalid pixel format\n", - plane->plane_id); + drm_debug(b, "\t\t\t\t[plane] not trying plane %d: " + "invalid pixel format\n", plane->plane_id); continue; }