From 5548406667e03b9b314b1b9a4592912834442167 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 24 Dec 2020 12:29:30 +0100 Subject: backend/drm: log whether ADDFB2 modifiers are supported --- backend/drm/drm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/drm') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 4757c26f..a9cfc066 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -81,6 +81,8 @@ bool check_drm_features(struct wlr_drm_backend *drm) { } else { ret = drmGetCap(drm->fd, DRM_CAP_ADDFB2_MODIFIERS, &cap); drm->addfb2_modifiers = ret == 0 && cap == 1; + wlr_log(WLR_DEBUG, "ADDFB2 modifiers %s", + drm->addfb2_modifiers ? "supported" : "unsupported"); } return true; -- cgit v1.2.3