dri: Restrict glthread for CS:GO to radeonsi
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 12 Jan 2021 01:45:37 +0000 (17:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Jan 2021 00:29:40 +0000 (00:29 +0000)
Fixes a ~12% performance regression in iris.

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

src/util/00-mesa-defaults.conf

index 736cc1e..fc4dd2f 100644 (file)
@@ -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>