kms/update: Don't count trivial custom page flips as empty updates
This includes most frames when using EGL_DEVICE.
While it would be nice to skip all update processing in this case,
we can't go quite that far because EGL_DEVICE is still waiting on
page flip callbacks.
Fixes: 27ed069766
("kms/impl-device: Add deadline based KMS commit scheduling")
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3196
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3939>
This commit is contained in:
parent
cfb2100d40
commit
4c91616ff2
1 changed files with 2 additions and 1 deletions
|
@ -1207,5 +1207,6 @@ meta_kms_update_is_empty (MetaKmsUpdate *update)
|
|||
!update->plane_assignments &&
|
||||
!update->connector_updates &&
|
||||
!update->crtc_updates &&
|
||||
!update->crtc_color_updates);
|
||||
!update->crtc_color_updates &&
|
||||
!update->custom_page_flip);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue