Mesa (master): radv: Always enable syncobj when supported for all fences/semaphores.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 30 12:07:31 UTC 2019


Module: Mesa
Branch: master
Commit: 84d9551b232bdcead017b212cbb3e291486e698c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=84d9551b232bdcead017b212cbb3e291486e698c

Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Sun Oct 20 19:15:24 2019 +0200

radv: Always enable syncobj when supported for all fences/semaphores.

This simplifies code for timeline semaphores by needing to support
less configurations.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/amd/vulkan/radv_device.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index e770bc634ff..1e33ae350ff 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -2381,9 +2381,7 @@ VkResult radv_CreateDevice(
 	device->dfsm_allowed = device->pbb_allowed &&
 	                       (device->instance->perftest_flags & RADV_PERFTEST_DFSM);
 
-#ifdef ANDROID
 	device->always_use_syncobj = device->physical_device->rad_info.has_syncobj_wait_for_submit;
-#endif
 
 	/* The maximum number of scratch waves. Scratch space isn't divided
 	 * evenly between CUs. The number is only a function of the number of CUs.




More information about the mesa-commit mailing list