From d4c7bc58ab95b593d074123952585aa502e9c98f Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sat, 16 Feb 2019 21:19:51 +0200 Subject: [PATCH] compositor-drm: Print pixel format in human-friendly form when failing to assign view to a overlay plane Signed-off-by: Marius Vlad --- libweston/compositor-drm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index a5de6611..46db6d6c 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -3350,9 +3350,10 @@ drm_output_prepare_overlay_view(struct drm_output_state *output_state, break; case NO_PLANES_WITH_FORMAT: drm_debug(b, "\t\t\t\t[overlay] not placing view %p on overlay: " - "no free overlay planes matching format 0x%lx, " + "no free overlay planes matching format %s (0x%lx) " "modifier 0x%llx\n", - ev, (unsigned long) fb->format, + ev, fb->format->drm_format_name, + (unsigned long) fb->format, (unsigned long long) fb->modifier); break; case NO_PLANES_ACCEPTED: