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>
This commit is contained in:
José Roberto de Souza 2025-04-14 10:16:43 -07:00 committed by Marge Bot
parent 8b068ef6c1
commit a96e280dfe
2 changed files with 2 additions and 2 deletions

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" />