anv: route clear operations on compute to companion

This fixes bunch of cts tests hitting issues when attempting
anv_image_mcs_op with compute.

Fixes: ab9d3528dc ("anv: fix queue check in anv_blorp_execute_on_companion on xe3")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39581>
(cherry picked from commit 85978ccd28)
This commit is contained in:
Tapani Pälli 2026-01-29 06:35:47 +02:00 committed by Eric Engestrom
parent be9d5d6508
commit d89eceaa2c
2 changed files with 5 additions and 1 deletions

View file

@ -2424,7 +2424,7 @@
"description": "anv: route clear operations on compute to companion",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "ab9d3528dc839a7b3a7c0c960dcba78bbd9e4a4c",
"notes": null

View file

@ -597,6 +597,10 @@ anv_blorp_execute_on_companion(struct anv_cmd_buffer *cmd_buffer,
/* Even on Xe3, no support for MSAA on BCS. */
if (anv_cmd_buffer_is_blitter_queue(cmd_buffer))
return true;
/* On Xe3 compute supports blits but not clear operations. */
if (!src_image)
return true;
}
if (anv_cmd_buffer_is_blitter_queue(cmd_buffer)) {