kms/impl-device: Don't merge KMS updates in process_mode_set_update
Based on the discussion leading to https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3999#note_2220825 this shouldn't be necessary. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4069>
This commit is contained in:
parent
118f294a48
commit
01249bd9e4
@ -2081,27 +2081,6 @@ process_mode_set_update (MetaKmsImplDevice *impl_device,
|
|||||||
MetaThreadImpl *thread_impl = META_THREAD_IMPL (kms_impl);
|
MetaThreadImpl *thread_impl = META_THREAD_IMPL (kms_impl);
|
||||||
MetaThread *thread = meta_thread_impl_get_thread (thread_impl);
|
MetaThread *thread = meta_thread_impl_get_thread (thread_impl);
|
||||||
MetaKmsFeedback *feedback;
|
MetaKmsFeedback *feedback;
|
||||||
GHashTableIter iter;
|
|
||||||
CrtcFrame *crtc_frame;
|
|
||||||
|
|
||||||
g_hash_table_iter_init (&iter, priv->crtc_frames);
|
|
||||||
while (g_hash_table_iter_next (&iter, NULL, (gpointer *) &crtc_frame))
|
|
||||||
{
|
|
||||||
if (crtc_frame->submitted_update.kms_update)
|
|
||||||
{
|
|
||||||
meta_kms_update_merge_from (crtc_frame->submitted_update.kms_update,
|
|
||||||
update);
|
|
||||||
meta_kms_update_free (update);
|
|
||||||
update = g_steal_pointer (&crtc_frame->submitted_update.kms_update);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (crtc_frame->pending_update)
|
|
||||||
{
|
|
||||||
meta_kms_update_merge_from (crtc_frame->pending_update, update);
|
|
||||||
meta_kms_update_free (update);
|
|
||||||
update = g_steal_pointer (&crtc_frame->pending_update);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
disarm_all_frame_sources (impl_device);
|
disarm_all_frame_sources (impl_device);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user