From 6fdcc55f6d76ad79e5871e82219f71c50d38ecf9 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: (cherry picked from commit a96e280dfe52e57a5f7174e864029b7510e70f40) --- .pick_status.json | 2 +- src/intel/blorp/blorp_genX_exec_brw.h | 3 +-- src/intel/genxml/gen120.xml | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index c284c908bd9..da816005794 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2244,7 +2244,7 @@ "description": "intel: Program XY_FAST_COLOR_BLT::Destination Mocs for gfx12", "nominated": false, "nomination_type": 0, - "resolution": 4, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null 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 @@ +