anv/query: Follow MTL code paths on ARL

Ref: 0a52002a1c ("anv: disable reset query pools using blorp opt on MTL")
Ref: b3b12c2c27 ("anv: enable CmdCopyQueryPoolResults to use shader for copies")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27352>
This commit is contained in:
Jordan Justen
2024-02-01 18:26:59 -08:00
committed by Marge Bot
parent c1ffd0a037
commit 964042d50c
+2 -2
View File
@@ -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),