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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user