1
0
Fork 0

kms/impl-device/atomic: Leave implicit sync enabled for modeset updates

Preparation for next commit, which may merge multiple KMS updates with
sync_fds for modesets. Waiting for all sync_fds to signal before
processing the merged KMS update would be rather involved, for now just
leave implicit sync enabled for it. We're still relying on implicit sync
for modesets in general anyway.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999>
This commit is contained in:
Michel Dänzer 2024-09-02 16:44:51 +02:00 committed by Marge Bot
parent 969f3a5ae4
commit b2761819e4

View file

@ -643,7 +643,8 @@ process_plane_assignment (MetaKmsImplDevice *impl_device,
return FALSE;
}
if (plane_assignment->flags & META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC)
if (plane_assignment->flags & META_KMS_ASSIGN_PLANE_FLAG_DISABLE_IMPLICIT_SYNC &&
!meta_kms_update_get_mode_sets (update))
{
int signaled_sync_file;