aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-04-17 01:51:10 +0200
committerBas Nieuwenhuizen <[email protected]>2019-04-23 23:49:39 +0000
commit3844ed8d44677588bc29d470d0b41ef7816591b3 (patch)
treea83d316d7ee3616b8e615e31ec8ba2b5dc49f940 /src/amd/vulkan/radv_device.c
parentf2e0f5c3c44967da8a10ac363ab667e07ea03c28 (diff)
radv: Add adaptive_sync driconfig option and enable it by default.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index f44b6842c2e..5d5bfb1df24 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -523,6 +523,9 @@ 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_ADAPTIVE_SYNC("true")
+ DRI_CONF_SECTION_END
DRI_CONF_END;
static void radv_init_dri_options(struct radv_instance *instance)