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> (cherry picked from commit4c91616ff2
)
This commit is contained in:
parent
7786482bd5
commit
a6737a46c7
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