aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-24 12:29:30 +0100
committerSimon Ser <contact@emersion.fr>2020-12-24 12:29:30 +0100
commit5548406667e03b9b314b1b9a4592912834442167 (patch)
treebeaa9301330ed46b1c417a548d149c07e6907dc0 /backend/drm/drm.c
parent71eaab9d8cba5d08b0bbe021da7ef608cadbb54e (diff)
backend/drm: log whether ADDFB2 modifiers are supported
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
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;