compositor-drm: Print DRM FB pixel format of the view in human-friendly form

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2019-01-22 17:56:36 +02:00
parent a9b6470cdf
commit f5ca2f1424

View file

@ -1640,6 +1640,8 @@ drm_fb_get_from_view(struct drm_output_state *state, struct weston_view *ev)
}
}
drm_debug(b, "\t\t\t[view] view %p format: %s\n",
ev, fb->format->drm_format_name);
drm_fb_set_buffer(fb, buffer);
return fb;
}