summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2021-01-11 17:45:37 -0800
committerMarge Bot <eric+marge@anholt.net>2021-01-13 00:29:40 +0000
commitc62996796cc46f1a1406f365cbb26f67e5d07c42 (patch)
tree49556a5a1c4a8f04e6c1c29e8869a8f5d52845fb /src
parentbfcdc8f1747eabad57449a309be7160dd27605ac (diff)
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@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8448>
Diffstat (limited to 'src')
-rw-r--r--src/util/00-mesa-defaults.conf5
1 files changed, 1 insertions, 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>