Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-updates_testing-src > by-pkgid > 8f7efb248ec92f085394df7d93ce0563 > files > 2

mesa-21.3.9-1.mga8.src.rpm

From 94dd401287325135ffcaae989f9a9098084728df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= <marek.olsak@amd.com>
Date: Wed, 24 Nov 2021 16:40:01 -0500
Subject: [PATCH] driconf: enable glthread for Basemark GPU

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13947>
---
 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 634e915d643..7e155d3e690 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -568,6 +568,10 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true" />
         </application>
 
+        <application name="Basemark GPU" executable="BasemarkGPU_gl">
+            <option name="mesa_glthread" value="true" />
+        </application>
+
         <!-- Adaptive sync denylist follows below: -->
         <application name="gnome-shell" executable="gnome-shell">
             <option name="adaptive_sync" value="false" />
-- 
2.34.1