radeonsi/gfx12: disable CU1 instead of CU0 for GS due to SQTT

SQTT captures traces from CU0, so we need to keep it enabled.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29313>
This commit is contained in:
Marek Olšák
2024-05-21 13:25:13 -04:00
committed by Marge Bot
parent 34be14d957
commit a548ec7ad4

View File

@@ -6397,7 +6397,7 @@ static void gfx12_init_gfx_preamble_state(struct si_context *sctx)
si_pm4_set_reg(pm4, R_00B218_SPI_SHADER_PGM_HI_ES,
S_00B324_MEM_BASE(sscreen->info.address32_hi >> 8));
si_pm4_set_reg_idx3(pm4, R_00B21C_SPI_SHADER_PGM_RSRC3_GS,
ac_apply_cu_en(0xfffffefe, 0, 0, &sscreen->info));
ac_apply_cu_en(0xfffffdfd, 0, 0, &sscreen->info));
si_pm4_set_reg(pm4, R_00B2C8_SPI_SHADER_USER_ACCUM_ESGS_0, 0);
si_pm4_set_reg(pm4, R_00B2CC_SPI_SHADER_USER_ACCUM_ESGS_1, 0);
si_pm4_set_reg(pm4, R_00B2D0_SPI_SHADER_USER_ACCUM_ESGS_2, 0);