From 964042d50ca42735390ce97ca9a79b4ea8de9502 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Thu, 1 Feb 2024 18:26:59 -0800 Subject: [PATCH] anv/query: Follow MTL code paths on ARL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref: 0a52002a1cc ("anv: disable reset query pools using blorp opt on MTL") Ref: b3b12c2c27f ("anv: enable CmdCopyQueryPoolResults to use shader for copies") Signed-off-by: Jordan Justen Reviewed-by: José Roberto de Souza Part-of: --- src/intel/vulkan/genX_query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/genX_query.c b/src/intel/vulkan/genX_query.c index 57ccd76c337..d97dff3d101 100644 --- a/src/intel/vulkan/genX_query.c +++ b/src/intel/vulkan/genX_query.c @@ -785,7 +785,7 @@ void genX(CmdResetQueryPool)( /* Temporarily disable on MTL until we understand why some tests hang. */ if (queryCount >= pdevice->instance->query_clear_with_blorp_threshold && - !intel_device_info_is_mtl(cmd_buffer->device->info)) { + !intel_device_info_is_mtl_or_arl(cmd_buffer->device->info)) { trace_intel_begin_query_clear_blorp(&cmd_buffer->trace); anv_cmd_buffer_fill_area(cmd_buffer, @@ -1843,7 +1843,7 @@ void genX(CmdCopyQueryPoolResults)( struct anv_physical_device *pdevice = device->physical; if (queryCount > pdevice->instance->query_copy_with_shader_threshold && - !intel_device_info_is_mtl(device->info)) { + !intel_device_info_is_mtl_or_arl(device->info)) { copy_query_results_with_shader(cmd_buffer, pool, anv_address_add(buffer->address, destOffset),