From 424d5e4e11d16c789cf4a724d6b8aa3d77223ec4 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 26 Nov 2019 16:16:05 -0800 Subject: [PATCH] turnip: Disable timestamp queries for now. They're not implemented, and not critical to bring up immediately. Avoids failures in the CTS when nothing gets written to the query. Reviewed-by: Bas Nieuwenhuizen --- src/freedreno/vulkan/tu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index edf38b0a402..7fbec1ba619 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -809,7 +809,7 @@ tu_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, .sampledImageStencilSampleCounts = sample_counts, .storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT, .maxSampleMaskWords = 1, - .timestampComputeAndGraphics = true, + .timestampComputeAndGraphics = false, /* FINISHME */ .timestampPeriod = 1, .maxClipDistances = 8, .maxCullDistances = 8, @@ -898,7 +898,7 @@ static const VkQueueFamilyProperties tu_queue_family_properties = { .queueFlags = VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT, .queueCount = 1, - .timestampValidBits = 64, + .timestampValidBits = 0, /* FINISHME */ .minImageTransferGranularity = { 1, 1, 1 }, }; -- 2.30.2