mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/drm: remove wlr_drm_crtc.pending_modeset
Replace it with a new drm_connector_state_is_modeset function that decides whether a modeset is necessary directly from the wlr_output_state which is going to be applied.
This commit is contained in:
parent
c9c2d7539c
commit
485ecc11a6
4 changed files with 14 additions and 11 deletions
|
|
@ -26,7 +26,7 @@ static bool legacy_crtc_commit(struct wlr_drm_backend *drm,
|
|||
fb_id = fb->id;
|
||||
}
|
||||
|
||||
if (crtc->pending_modeset) {
|
||||
if (drm_connector_state_is_modeset(state)) {
|
||||
uint32_t *conns = NULL;
|
||||
size_t conns_len = 0;
|
||||
drmModeModeInfo *mode = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue