radeonsi: program COMPUTE_STATIC_THREAD_MGMT_SE4..7 on Arcturus

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14122>
This commit is contained in:
Marek Olšák 2021-12-08 01:11:21 -05:00
parent 5406ad93a9
commit b06b481dfe
2 changed files with 28 additions and 0 deletions

View File

@ -38,6 +38,26 @@
"name": "SRBM_STATUS3",
"type_ref": "SRBM_STATUS3"
},
{
"chips": ["gfx9"],
"map": {"at": 47252, "to": "mm"},
"name": "COMPUTE_STATIC_THREAD_MGMT_SE4"
},
{
"chips": ["gfx9"],
"map": {"at": 47256, "to": "mm"},
"name": "COMPUTE_STATIC_THREAD_MGMT_SE5"
},
{
"chips": ["gfx9"],
"map": {"at": 47260, "to": "mm"},
"name": "COMPUTE_STATIC_THREAD_MGMT_SE6"
},
{
"chips": ["gfx9"],
"map": {"at": 47264, "to": "mm"},
"name": "COMPUTE_STATIC_THREAD_MGMT_SE7"
},
{
"chips": ["gfx103"],
"map": {"at": 199052, "to": "mm"},

View File

@ -426,6 +426,14 @@ void si_emit_initial_compute_regs(struct si_context *sctx, struct radeon_cmdbuf
(cs != &sctx->gfx_cs || !sctx->screen->info.has_graphics)) {
radeon_set_uconfig_reg(R_0301EC_CP_COHER_START_DELAY,
sctx->chip_class >= GFX10 ? 0x20 : 0);
if (!info->has_graphics && info->family >= CHIP_ARCTURUS) {
radeon_set_sh_reg_seq(R_00B894_COMPUTE_STATIC_THREAD_MGMT_SE4, 4);
radeon_emit(S_00B858_SH0_CU_EN(info->spi_cu_en) | S_00B858_SH1_CU_EN(info->spi_cu_en));
radeon_emit(S_00B858_SH0_CU_EN(info->spi_cu_en) | S_00B858_SH1_CU_EN(info->spi_cu_en));
radeon_emit(S_00B858_SH0_CU_EN(info->spi_cu_en) | S_00B858_SH1_CU_EN(info->spi_cu_en));
radeon_emit(S_00B858_SH0_CU_EN(info->spi_cu_en) | S_00B858_SH1_CU_EN(info->spi_cu_en));
}
}
if (sctx->chip_class >= GFX10) {