summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2018-10-23 11:38:52 -0400
committerMichel Dänzer <michel@daenzer.net>2018-12-28 17:08:14 +0100
commite260493f2ab2483e5a55aaaf67f3b938ceb7f990 (patch)
tree4cbf0412e22efc44ce6bab99f90db0d8e4acfda7
parent2e12fe425fe35d2c72ce0dbffa826f0098fdac2e (diff)
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@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
-rw-r--r--src/gallium/drivers/radeonsi/driinfo_radeonsi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h
index 8c5078c13f3..cbf3bb01fb3 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")