From 37263cfbd6a25c84c87c867e30edffc6a62e49df Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 9 Oct 2025 20:25:59 +0300 Subject: [PATCH] anv: fix companion usage for emulated image We need to return true if we need the companion batch. Signed-off-by: Lionel Landwerlin Fixes: e60416b4e4 ("anv: use companion batch for operations with HIZ/STC_CCS destination") Reviewed-by: Sagar Ghuge Reviewed-by: Lucas Fryzek Part-of: (cherry picked from commit 196c7903b9a0305524d1d059b551071900fa6dfd) --- .pick_status.json | 2 +- src/intel/vulkan/anv_blorp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 5d655e24981..2d274bc0ca7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2864,7 +2864,7 @@ "description": "anv: fix companion usage for emulated image", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "e60416b4e427b120d1b77cbd15f659dc36daf97f", "notes": null diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index f184b90969d..c26bed18043 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -634,7 +634,7 @@ anv_blorp_execute_on_companion(struct anv_cmd_buffer *cmd_buffer, */ if ((src_image && is_image_emulated(src_image)) || (dst_image && is_image_emulated(dst_image))) - return false; + return true; /* Wa_22019225126: The compression pairing bit on blitter engine is not * programmed correctly for depth/stencil resources. Fallback to RCS