diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-24 12:29:30 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-24 12:29:30 +0100 |
commit | 5548406667e03b9b314b1b9a4592912834442167 (patch) | |
tree | beaa9301330ed46b1c417a548d149c07e6907dc0 /backend | |
parent | 71eaab9d8cba5d08b0bbe021da7ef608cadbb54e (diff) |
backend/drm: log whether ADDFB2 modifiers are supported
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |