wip: backend/drm: move pending CRTC to connector state

This commit is contained in:
Simon Ser 2022-12-06 18:15:04 +01:00
parent bf5114df6f
commit 8fb34d1d00
4 changed files with 21 additions and 21 deletions

View file

@ -203,10 +203,10 @@ static bool atomic_crtc_commit(struct wlr_drm_connector *conn,
bool test_only) {
struct wlr_drm_backend *drm = conn->backend;
struct wlr_output *output = &conn->output;
struct wlr_drm_crtc *crtc = conn->crtc;
bool modeset = state->modeset;
bool active = state->active;
struct wlr_drm_crtc *crtc = state->crtc;
uint32_t mode_id = crtc->mode_id;
if (modeset) {