blorp: Update programming for XY_FAST_COLOR_BLT on xe2

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29264>
This commit is contained in:
Jordan Justen 2022-09-30 01:42:32 -07:00 committed by Marge Bot
parent 7605456a9b
commit 92fa87f5bd

View file

@ -2135,12 +2135,14 @@ blorp_xy_fast_color_blit(struct blorp_batch *batch,
params->dst.addr.local_hint ? XY_MEM_LOCAL : XY_MEM_SYSTEM;
if (params->dst.aux_usage != ISL_AUX_USAGE_NONE) {
#if GFX_VERx10 == 125
blt.DestinationAuxiliarySurfaceMode = xy_aux_mode(&params->dst);
blt.DestinationCompressionEnable = true;
blt.DestinationCompressionFormat =
isl_get_render_compression_format(dst_surf->format);
blt.DestinationClearValueEnable = !!params->dst.clear_color_addr.buffer;
blt.DestinationClearAddress = params->dst.clear_color_addr;
#endif
blt.DestinationCompressionFormat =
isl_get_render_compression_format(dst_surf->format);
}
blt.DestinationMOCS = params->dst.addr.mocs;