intel: Program XY_FAST_COLOR_BLT::Destination Mocs for gfx12

Copy engine is not used in gfx12 platforms on ANV but that is possible
in Iris.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34560>
(cherry picked from commit a96e280dfe52e57a5f7174e864029b7510e70f40)
This commit is contained in:
José Roberto de Souza
2025-04-14 10:16:43 -07:00
committed by Eric Engestrom
parent ff40113ad5
commit 6fdcc55f6d
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -2142,6 +2142,7 @@
<field name="Opcode" start="22" end="28" type="uint" default="0x44" />
<field name="Client" start="29" end="31" type="uint" default="2" />
<field name="Destination Pitch" start="32" end="49" type="uint" />
<field name="Destination MOCS" start="53" end="59" type="uint" />
<field name="Destination Tiling" start="62" end="63" type="int" prefix="XY_TILE">
<value name="LINEAR" value="0" />
<value name="Y" value="1" />