From a96e280dfe52e57a5f7174e864029b7510e70f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Mon, 14 Apr 2025 10:16:43 -0700 Subject: [PATCH] intel: Program XY_FAST_COLOR_BLT::Destination Mocs for gfx12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copy engine is not used in gfx12 platforms on ANV but that is possible in Iris. Reviewed-by: Lionel Landwerlin Signed-off-by: José Roberto de Souza Part-of: --- src/intel/blorp/blorp_genX_exec_brw.h | 3 +-- src/intel/genxml/gen120.xml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/blorp/blorp_genX_exec_brw.h b/src/intel/blorp/blorp_genX_exec_brw.h index 02ea650bf88..245791d5d8a 100644 --- a/src/intel/blorp/blorp_genX_exec_brw.h +++ b/src/intel/blorp/blorp_genX_exec_brw.h @@ -2157,6 +2157,7 @@ blorp_xy_fast_color_blit(struct blorp_batch *batch, blt.DestinationPitch = (dst_surf->row_pitch_B / dst_pitch_unit) - 1; blt.DestinationTiling = xy_bcb_tiling(dst_surf); + blt.DestinationMOCS = params->dst.addr.mocs; blt.DestinationX1 = params->x0; blt.DestinationY1 = params->y0; blt.DestinationX2 = params->x1; @@ -2197,8 +2198,6 @@ blorp_xy_fast_color_blit(struct blorp_batch *batch, blt.DestinationCompressionFormat = isl_get_render_compression_format(dst_surf->format); } - - blt.DestinationMOCS = params->dst.addr.mocs; #endif } #endif diff --git a/src/intel/genxml/gen120.xml b/src/intel/genxml/gen120.xml index 412a5699b83..6801406b513 100644 --- a/src/intel/genxml/gen120.xml +++ b/src/intel/genxml/gen120.xml @@ -2142,6 +2142,7 @@ +