mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 05:28:05 +02:00
backend-drm: Minor comment rewording
Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
26c2f9a65f
commit
23257c073f
1 changed files with 10 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue