mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
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:
parent
8b068ef6c1
commit
a96e280dfe
2 changed files with 2 additions and 2 deletions
|
|
@ -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.DestinationPitch = (dst_surf->row_pitch_B / dst_pitch_unit) - 1;
|
||||||
blt.DestinationTiling = xy_bcb_tiling(dst_surf);
|
blt.DestinationTiling = xy_bcb_tiling(dst_surf);
|
||||||
|
blt.DestinationMOCS = params->dst.addr.mocs;
|
||||||
blt.DestinationX1 = params->x0;
|
blt.DestinationX1 = params->x0;
|
||||||
blt.DestinationY1 = params->y0;
|
blt.DestinationY1 = params->y0;
|
||||||
blt.DestinationX2 = params->x1;
|
blt.DestinationX2 = params->x1;
|
||||||
|
|
@ -2197,8 +2198,6 @@ blorp_xy_fast_color_blit(struct blorp_batch *batch,
|
||||||
blt.DestinationCompressionFormat =
|
blt.DestinationCompressionFormat =
|
||||||
isl_get_render_compression_format(dst_surf->format);
|
isl_get_render_compression_format(dst_surf->format);
|
||||||
}
|
}
|
||||||
|
|
||||||
blt.DestinationMOCS = params->dst.addr.mocs;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -2142,6 +2142,7 @@
|
||||||
<field name="Opcode" start="22" end="28" type="uint" default="0x44" />
|
<field name="Opcode" start="22" end="28" type="uint" default="0x44" />
|
||||||
<field name="Client" start="29" end="31" type="uint" default="2" />
|
<field name="Client" start="29" end="31" type="uint" default="2" />
|
||||||
<field name="Destination Pitch" start="32" end="49" type="uint" />
|
<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">
|
<field name="Destination Tiling" start="62" end="63" type="int" prefix="XY_TILE">
|
||||||
<value name="LINEAR" value="0" />
|
<value name="LINEAR" value="0" />
|
||||||
<value name="Y" value="1" />
|
<value name="Y" value="1" />
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue