mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 03:38:03 +02:00
libweston/compositor-drm: Add missing debug message for scanout_view
Print debug message when the fb coudn't be retrieved for the primary plane. Signed-off-by: Marius Vlad <marius.vlad0@gmail.com>
This commit is contained in:
parent
94698d2a83
commit
748f09efe5
1 changed files with 4 additions and 1 deletions
|
|
@ -2009,8 +2009,11 @@ drm_output_prepare_scanout_view(struct drm_output_state *output_state,
|
|||
return NULL;
|
||||
|
||||
fb = drm_fb_get_from_view(output_state, ev);
|
||||
if (!fb)
|
||||
if (!fb) {
|
||||
drm_debug(b, "\t\t\t\t[scanout] not placing view %p on scanout: "
|
||||
" couldn't get fb\n", ev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Can't change formats with just a pageflip */
|
||||
if (!b->atomic_modeset && fb->format->format != output->gbm_format) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue