diff options
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r-- | backend/drm/drm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 403e5d7c..daf6b379 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -419,14 +419,6 @@ static bool drm_connector_set_pending_fb(struct wlr_drm_connector *conn, } break; case WLR_OUTPUT_STATE_BUFFER_SCANOUT:; - /* Legacy never gets to have nice things. But I doubt this would ever work, - * and there is no reliable way to try, without risking messing up the - * modesetting state. */ - if (drm->iface == &legacy_iface) { - wlr_drm_conn_log(conn, WLR_DEBUG, - "Cannot use direct scan-out with legacy KMS API"); - return false; - } if (!drm_fb_import(&plane->pending_fb, drm, state->buffer, &crtc->primary->formats)) { wlr_drm_conn_log(conn, WLR_DEBUG, |