backend/drm: remove mode arg from drm_connector_set_mode

All of the information is in wlr_output_state.
This commit is contained in:
Simon Ser 2021-04-06 17:44:31 +02:00 committed by Kenny Levinsen
parent 7aba881c47
commit 218955ce95
3 changed files with 20 additions and 30 deletions

View file

@ -144,7 +144,7 @@ void scan_drm_connectors(struct wlr_drm_backend *state);
int handle_drm_event(int fd, uint32_t mask, void *data);
void destroy_drm_connector(struct wlr_drm_connector *conn);
bool drm_connector_set_mode(struct wlr_drm_connector *conn,
const struct wlr_output_state *state, struct wlr_output_mode *mode);
const struct wlr_output_state *state);
bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn);
bool drm_connector_supports_vrr(struct wlr_drm_connector *conn);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,