radeonsi: Enable adaptive_sync by default for radeon
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 23 Oct 2018 15:38:52 +0000 (11:38 -0400)
committerMichel Dänzer <michel@daenzer.net>
Fri, 28 Dec 2018 16:08:14 +0000 (17:08 +0100)
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@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
src/gallium/drivers/radeonsi/driinfo_radeonsi.h

index 8c5078c13f36f17801391514cf3bc6843bcbfa2c..cbf3bb01fb325d87884fcf09a168e89297bee52b 100644 (file)
@@ -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")