From 372c7545e606a9f0cc361534d5c766b8974cc941 Mon Sep 17 00:00:00 2001 From: Jianxun Zhang Date: Thu, 8 Jan 2026 14:41:47 -0800 Subject: [PATCH] anv: Limit modifier disabling workaround to specific GTK versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The issue caused us to put a switch to disable (Xe2) drm modifers in 2418c9153758783d250982f9b84fb65b1b484294 is fixed in GTK 4.20.3, so we can enable the modifiers with this and newer GTK releases. GTK https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9164: b2a42d5a6e Revert "vulkan: Wait for device to be idle before create/recreating swapchain" 270735a151 vulkan: Rework swapchain present implementation The hex values represent the GTK version range: [4.0.0, 4.20.2] for VK_MAKE_VERSION(), refer to: f493f5c88d9c243d300aaffe059d59e3b1c5b070 Cc: mesa-stable Signed-off-by: Jianxun Zhang Reviewed-by: Tapani Pälli (cherry picked from commit df7d333656932dea4622e6f648eaef31b2d83f1a) Part-of: --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 6730f2c7686..af6bcc6445a 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3244,7 +3244,7 @@ "description": "anv: Limit modifier disabling workaround to specific GTK versions", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 840fb00a535..35e56845f7c 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -1130,7 +1130,7 @@ TODO: document the other workarounds. - +