aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-08 16:31:09 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-09 15:31:19 -0400
commitf67cfb2ce288e7fd24c22a372e95939ce120e81c (patch)
tree8e3b53baf00e6057a134f1e44e5205e680273653 /include/backend/drm
parentfde56c20b4711e20edfafcaba67341f71e2c1c10 (diff)
backend/drm: remove backend arg from wlr_drm_interface.crtc_commit
The callee can just get it from the wlr_drm_connector.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/iface.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index f7107973..e02c2199 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -13,10 +13,9 @@ struct wlr_drm_crtc;
// Used to provide atomic or legacy DRM functions
struct wlr_drm_interface {
- // Commit al pending changes on a CRTC.
- bool (*crtc_commit)(struct wlr_drm_backend *drm,
- struct wlr_drm_connector *conn, const struct wlr_output_state *state,
- uint32_t flags, bool test_only);
+ // Commit all pending changes on a CRTC.
+ bool (*crtc_commit)(struct wlr_drm_connector *conn,
+ const struct wlr_output_state *state, uint32_t flags, bool test_only);
};
extern const struct wlr_drm_interface atomic_iface;