diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/drm/util.c b/backend/drm/util.c index e262fd92..86dc1517 100644 --- a/backend/drm/util.c +++ b/backend/drm/util.c @@ -199,14 +199,6 @@ uint32_t get_fb_for_bo(struct gbm_bo *bo, bool with_modifiers) { wlr_log_errno(WLR_ERROR, "Unable to add DRM framebuffer"); } } else { - if (gbm_bo_get_modifier(bo) != DRM_FORMAT_MOD_INVALID && - gbm_bo_get_modifier(bo) != DRM_FORMAT_MOD_LINEAR) { - wlr_log(WLR_ERROR, "Failed to add DRM frame-buffer: " - "BO has modifier 0x%"PRIX64" but KMS doesn't support modifiers", - gbm_bo_get_modifier(bo)); - return 0; - } - int ret = drmModeAddFB2(fd, width, height, format, handles, strides, offsets, &id, 0); if (ret != 0 && gbm_bo_get_format(bo) == GBM_FORMAT_ARGB8888 && |