Mesa (master): dri: Restrict glthread for CS:GO to radeonsi

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 13 02:12:03 UTC 2021


Module: Mesa
Branch: master
Commit: c62996796cc46f1a1406f365cbb26f67e5d07c42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c62996796cc46f1a1406f365cbb26f67e5d07c42

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Jan 11 17:45:37 2021 -0800

dri: Restrict glthread for CS:GO to radeonsi

Fixes a ~12% performance regression in iris.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8448>

---

 src/util/00-mesa-defaults.conf | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 736cc1e7335..fc4dd2fcd42 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -479,10 +479,6 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true" />
         </application>
 
-        <application name="Counter-Strike Global Offensive" executable="csgo_linux64">
-            <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" />
@@ -647,6 +643,7 @@ TODO: document the other workarounds.
             <option name="radeonsi_zerovram" value="true" />
         </application>
         <application name="Counter-Strike Global Offensive" executable="csgo_linux64">
+            <option name="mesa_glthread" value="true" />
             <option name="radeonsi_zerovram" value="true" />
             <option name="radeonsi_clamp_div_by_zero" value="true" />
         </application>



More information about the mesa-commit mailing list