backend/drm: add support for explicit sync APIs

This commit is contained in:
Simon Ser 2021-10-20 20:09:38 +02:00
parent 26aa4f5f5c
commit 7aff45fa0d
5 changed files with 75 additions and 1 deletions

View file

@ -54,6 +54,13 @@ static bool legacy_crtc_test(struct wlr_drm_connector *conn,
}
}
if (state->base->committed & (WLR_OUTPUT_STATE_WAIT_TIMELINE |
WLR_OUTPUT_STATE_SIGNAL_TIMELINE)) {
wlr_drm_conn_log(conn, WLR_DEBUG,
"Sync timelines are unsupported with legacy KMS interface");
return false;
}
return true;
}