From: Eric Engestrom Date: Fri, 30 Aug 2019 16:03:12 +0000 (+0100) Subject: amd: move adaptive sync to performance section, as it is defined in xmlpool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ad99ee9616f86eff96f4840354c64a60e341a6b;p=mesa.git amd: move adaptive sync to performance section, as it is defined in xmlpool 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 Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Lionel Landwerlin --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index b9d6ccc4c03..c8e0d5f7fea 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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; diff --git a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h index 000a300746e..ff81a9bab47 100644 --- a/src/gallium/drivers/radeonsi/driinfo_radeonsi.h +++ b/src/gallium/drivers/radeonsi/driinfo_radeonsi.h @@ -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")