Revert "drm: do not modeset to current mode"

This reverts commit 72c76b128e.
This commit is contained in:
Drew DeVault 2019-02-15 09:21:49 -05:00 committed by Brian Ashworth
parent 8b203c28f8
commit 9a5d59a839
1 changed files with 0 additions and 4 deletions

View File

@ -537,10 +537,6 @@ static bool drm_connector_set_mode(struct wlr_output *output,
conn->desired_mode = mode; conn->desired_mode = mode;
return false; return false;
} }
if (conn->output.current_mode == mode) {
// Nothing to do
return true;
}
wlr_log(WLR_INFO, "Modesetting '%s' with '%ux%u@%u mHz'", wlr_log(WLR_INFO, "Modesetting '%s' with '%ux%u@%u mHz'",
conn->output.name, mode->width, mode->height, mode->refresh); conn->output.name, mode->width, mode->height, mode->refresh);