diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-09-02 21:47:11 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-09-04 00:06:40 +0200 |
commit | 45e68ed065c836ea297a9cdec9868e6dd4f93ba8 (patch) | |
tree | 41735997d39364ea5d11ce59fad2357f24d6bb3c /src/amd/vulkan/winsys | |
parent | 1a72ca5667f82b8144c0003bddd76a774221ac09 (diff) |
radv: Enable command buffer chaining by default.
For approx 5-10% performance improvement in dota2.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c index 607ef6227d7..85910fb1c82 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c @@ -111,7 +111,7 @@ radv_amdgpu_winsys_create(int fd, uint64_t debug_flags, uint64_t perftest_flags) if (debug_flags & RADV_DEBUG_NO_IBS) ws->use_ib_bos = false; - ws->batchchain = !!(perftest_flags & RADV_PERFTEST_BATCHCHAIN); + ws->batchchain = !(perftest_flags & RADV_PERFTEST_NO_BATCHCHAIN); LIST_INITHEAD(&ws->global_bo_list); pthread_mutex_init(&ws->global_bo_list_lock, NULL); ws->base.query_info = radv_amdgpu_winsys_query_info; |