amd: move adaptive sync to performance section, as it is defined in xmlpool
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 30 Aug 2019 16:03:12 +0000 (17:03 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 6 Sep 2019 22:16:05 +0000 (23:16 +0100)
Fixes: 3844ed8d44677588bc29 ("radv: Add adaptive_sync driconfig option and enable it by default.")
Fixes: e260493f2ab2483e5a55 ("radeonsi: Enable adaptive_sync by default for radeon")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/amd/vulkan/radv_device.c
src/gallium/drivers/radeonsi/driinfo_radeonsi.h

index b9d6ccc4c032a4653ff6c0d36104cffbcdcba4da..c8e0d5f7feaa31fce543f8033ea1919fc64f07a5 100644 (file)
@@ -556,7 +556,7 @@ static int radv_get_instance_extension_index(const char *name)
 
 static const char radv_dri_options_xml[] =
 DRI_CONF_BEGIN
-       DRI_CONF_SECTION_QUALITY
+       DRI_CONF_SECTION_PERFORMANCE
                DRI_CONF_ADAPTIVE_SYNC("true")
        DRI_CONF_SECTION_END
 DRI_CONF_END;
index 000a300746e9e639cc7681e991080895b4751514..ff81a9bab4781de0aa9c05787436919622bdeadf 100644 (file)
@@ -1,9 +1,6 @@
 // DriConf options specific to radeonsi
-DRI_CONF_SECTION_QUALITY
-    DRI_CONF_ADAPTIVE_SYNC("true")
-DRI_CONF_SECTION_END
-
 DRI_CONF_SECTION_PERFORMANCE
+    DRI_CONF_ADAPTIVE_SYNC("true")
     DRI_CONF_RADEONSI_ENABLE_SISCHED("false")
     DRI_CONF_RADEONSI_ASSUME_NO_Z_FIGHTS("false")
     DRI_CONF_RADEONSI_COMMUTATIVE_BLEND_ADD("false")