From 741aaa3f761a7175f622150defac514da8f2fed6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 14 Feb 2024 14:42:01 +0100 Subject: backend/drm: drop wlr_drm_backend arg from create_mode_blob() No need for this, the backend can be grabbed from the connector. --- include/backend/drm/iface.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h index dbe4c908..2a90c4b5 100644 --- a/include/backend/drm/iface.h +++ b/include/backend/drm/iface.h @@ -31,8 +31,7 @@ extern const struct wlr_drm_interface liftoff_iface; bool drm_legacy_crtc_set_gamma(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc, size_t size, uint16_t *lut); -bool create_mode_blob(struct wlr_drm_backend *drm, - struct wlr_drm_connector *conn, +bool create_mode_blob(struct wlr_drm_connector *conn, const struct wlr_drm_connector_state *state, uint32_t *blob_id); bool create_gamma_lut_blob(struct wlr_drm_backend *drm, size_t size, const uint16_t *lut, uint32_t *blob_id); -- cgit v1.2.3