ac/perfcounter: update configuration of many blocks on GFX10

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39126>
This commit is contained in:
Samuel Pitoiset 2026-01-02 15:55:38 +01:00 committed by Marge Bot
parent 381e4f4c9f
commit 87b938ce41
2 changed files with 31 additions and 30 deletions

View file

@ -767,7 +767,8 @@ bool ac_init_perfcounters(const struct radeon_info *info,
if (info->family == CHIP_NAVI21 ||
info->family == CHIP_NAVI31) {
block->num_instances = 4;
} else if (info->family == CHIP_NAVI32 ||
} else if (info->family == CHIP_NAVI14 ||
info->family == CHIP_NAVI32 ||
info->family == CHIP_NAVI33) {
block->num_instances = 2;
}

View file

@ -785,35 +785,35 @@ static struct ac_pc_block_base gfx10_GCEA = {
};
static struct ac_pc_block_gfxdescr groups_gfx10[] = {
{&gfx10_CB, 461},
{&gfx10_CHA, 45},
{&gfx10_CHCG, 35},
{&gfx10_CHC, 35, 4},
{&gfx10_CPC, 47},
{&gfx10_CPF, 40},
{&gfx10_CPG, 82},
{&gfx10_DB, 370},
{&gfx10_GCR, 94},
{&gfx10_GDS, 123},
{&gfx10_GE, 315},
{&gfx10_GL1A, 36},
{&gfx10_GL1C, 64, 4},
{&gfx10_GL2A, 91},
{&gfx10_GL2C, 235},
{&gfx10_GRBM, 47},
{&gfx10_GRBMSE, 19},
{&gfx10_PA_PH, 960},
{&gfx10_PA_SC, 552, 2},
{&gfx10_PA_SU, 266},
{&gfx10_RLC, 7},
{&gfx10_RMI, 258},
{&gfx10_SPI, 329},
{&gfx10_SQ, 509},
{&gfx10_SX, 225},
{&gfx10_TA, 226},
{&gfx10_TCP, 77},
{&gfx10_TD, 61},
{&gfx10_UTCL1, 15},
{&gfx10_CB, 452},
{&gfx10_CHA, 44},
{&gfx10_CHCG, 34},
{&gfx10_CHC, 34, 4},
{&gfx10_CPC, 46},
{&gfx10_CPF, 39},
{&gfx10_CPG, 81},
{&gfx10_DB, 369},
{&gfx10_GCR, 93},
{&gfx10_GDS, 120},
{&gfx10_GE, 314},
{&gfx10_GL1A, 35},
{&gfx10_GL1C, 63, 4},
{&gfx10_GL2A, 90},
{&gfx10_GL2C, 234},
{&gfx10_GRBM, 46},
{&gfx10_GRBMSE, 18},
{&gfx10_PA_PH, 959},
{&gfx10_PA_SC, 551, 2},
{&gfx10_PA_SU, 265},
{&gfx10_RLC, 6},
{&gfx10_RMI, 257},
{&gfx10_SPI, 328},
{&gfx10_SQ, 511},
{&gfx10_SX, 224},
{&gfx10_TA, 225},
{&gfx10_TCP, 76},
{&gfx10_TD, 60},
{&gfx10_UTCL1, 14},
{&gfx10_GCEA, 88},
};