mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 10:40:11 +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>
(cherry picked from commit a96e280dfe)
This commit is contained in:
parent
747a79b13f
commit
094e157daa
3 changed files with 3 additions and 3 deletions
|
|
@ -2144,7 +2144,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
|
||||
|
|
|
|||
|
|
@ -2138,6 +2138,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;
|
||||
|
|
@ -2178,8 +2179,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
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue