backend/drm: remove backend arg from wlr_drm_interface.crtc_commit

The callee can just get it from the wlr_drm_connector.
This commit is contained in:
Simon Ser 2021-07-08 16:31:09 +02:00 committed by Simon Zeni
parent fde56c20b4
commit f67cfb2ce2
4 changed files with 10 additions and 11 deletions

View file

@ -351,7 +351,7 @@ static bool drm_crtc_commit(struct wlr_drm_connector *conn,
struct wlr_drm_backend *drm = conn->backend;
struct wlr_drm_crtc *crtc = conn->crtc;
bool ok = drm->iface->crtc_commit(drm, conn, state, flags, test_only);
bool ok = drm->iface->crtc_commit(conn, state, flags, test_only);
if (ok && !test_only) {
drm_plane_set_committed(crtc->primary);
if (crtc->cursor != NULL) {