Mesa (master): radeonsi: Enable adaptive_sync by default for radeon

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 28 16:27:58 UTC 2018


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

Author: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>
Date:   Tue Oct 23 11:38:52 2018 -0400

radeonsi: Enable adaptive_sync by default for radeon

It's better to let most applications make use of adaptive sync
by default. Problematic applications can be placed on the blacklist
or the user can manually disable the feature.

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>

---

 src/gallium/drivers/radeonsi/driinfo_radeonsi.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
index 8c5078c13f..cbf3bb01fb 100644
--- a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
+++ b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
@@ -1,4 +1,8 @@
 // DriConf options specific to radeonsi
+DRI_CONF_SECTION_QUALITY
+    DRI_CONF_ADAPTIVE_SYNC("true")
+DRI_CONF_SECTION_END
+
 DRI_CONF_SECTION_PERFORMANCE
     DRI_CONF_RADEONSI_ENABLE_SISCHED("false")
     DRI_CONF_RADEONSI_ASSUME_NO_Z_FIGHTS("false")




More information about the mesa-commit mailing list