public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Crha <mcrha@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mutter] f44: Add patch for a crash on systems with multiple GPU-s
Date: Wed, 08 Jul 2026 06:11:31 GMT [thread overview]
Message-ID: <178349109191.1.12886205013408719983.rpms-mutter-dc36d22decff@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mutter
Branch : f44
Commit : dc36d22decfffa59c3bff96aeae0408abba883e7
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-07-08T08:09:37+02:00
Stats : +44/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mutter/c/dc36d22decfffa59c3bff96aeae0408abba883e7?branch=f44
Log:
Add patch for a crash on systems with multiple GPU-s
---
diff --git a/0001-kms_impl-device__Handle-NULL-crtc_frames-in-_discard_pending_page_flips.patch b/0001-kms_impl-device__Handle-NULL-crtc_frames-in-_discard_pending_page_flips.patch
new file mode 100644
index 0000000..1d8e29e
--- /dev/null
+++ b/0001-kms_impl-device__Handle-NULL-crtc_frames-in-_discard_pending_page_flips.patch
@@ -0,0 +1,42 @@
+From 5d187100e2e146511cc19269d2f1c650cc3125ab Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <mdaenzer@redhat.com>
+Date: Mon, 6 Jul 2026 16:44:29 +0200
+Subject: [PATCH] kms/impl-device: Handle NULL crtc_frames in
+ _discard_pending_page_flips
+
+Closes: https://gitlab.gnome.org/GNOME/mutter/-/work_items/4848
+Fixes: 14b3d57b7d92 ("kms-impl-device: Discard pending update when discarding pending flips")
+Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/5163>
+---
+ src/backends/native/meta-kms-impl-device.c | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/src/backends/native/meta-kms-impl-device.c b/src/backends/native/meta-kms-impl-device.c
+index 835bbc25e46..3f28fd4d3ae 100644
+--- a/src/backends/native/meta-kms-impl-device.c
++++ b/src/backends/native/meta-kms-impl-device.c
+@@ -2457,12 +2457,16 @@ meta_kms_impl_device_discard_pending_page_flips (MetaKmsImplDevice *impl_device)
+ MetaKmsImplDeviceClass *klass = META_KMS_IMPL_DEVICE_GET_CLASS (impl_device);
+ MetaKmsImplDevicePrivate *priv =
+ meta_kms_impl_device_get_instance_private (impl_device);
+- 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))
+- discard_update (impl_device, &crtc_frame->pending_update);
++ if (priv->crtc_frames)
++ {
++ 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))
++ discard_update (impl_device, &crtc_frame->pending_update);
++ }
+
+ klass->discard_pending_page_flips (impl_device);
+ }
+--
+GitLab
+
diff --git a/mutter.spec b/mutter.spec
index ae80fbc..f4edd48 100644
--- a/mutter.spec
+++ b/mutter.spec
@@ -27,6 +27,8 @@ License: GPL-2.0-or-later
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
+Patch: 0001-kms_impl-device__Handle-NULL-crtc_frames-in-_discard_pending_page_flips.patch
+
BuildRequires: cvt
BuildRequires: desktop-file-utils
BuildRequires: mesa-libEGL-devel
reply other threads:[~2026-07-08 6:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178349109191.1.12886205013408719983.rpms-mutter-dc36d22decff@fedoraproject.org \
--to=mcrha@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox