mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
ac/perfcounter: add GFX11 groups
Source from PAL. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25245>
This commit is contained in:
parent
0925d0d042
commit
604a9b7fae
1 changed files with 37 additions and 0 deletions
|
|
@ -1013,6 +1013,39 @@ static struct ac_pc_block_gfxdescr groups_gfx10[] = {
|
|||
{&gfx10_UTCL1, 15},
|
||||
};
|
||||
|
||||
static struct ac_pc_block_gfxdescr groups_gfx11[] = {
|
||||
{&cik_CB, 313},
|
||||
{&gfx10_CHA, 39},
|
||||
{&gfx10_CHCG, 43},
|
||||
{&gfx10_CHC, 43},
|
||||
{&cik_CPC, 55},
|
||||
{&cik_CPF, 43},
|
||||
{&cik_CPG, 91},
|
||||
{&gfx10_DB, 370},
|
||||
{&gfx10_GCR, 154},
|
||||
{&cik_GDS, 147},
|
||||
{&gfx10_GE, 39},
|
||||
{&gfx10_GL1A, 23},
|
||||
{&gfx10_GL1C, 83, 4},
|
||||
{&gfx10_GL2A, 107},
|
||||
{&gfx10_GL2C, 258},
|
||||
{&cik_GRBM, 49},
|
||||
{&cik_GRBMSE, 20},
|
||||
{&gfx10_PA_PH, 1023},
|
||||
{&cik_PA_SC, 664},
|
||||
{&gfx10_PA_SU, 310},
|
||||
{&gfx10_RLC, 6},
|
||||
{&gfx10_RMI, 138},
|
||||
{&cik_SPI, 283},
|
||||
{&gfx10_SQ, 36},
|
||||
{&cik_SX, 81},
|
||||
{&cik_TA, 235},
|
||||
{&gfx10_TCP, 77},
|
||||
{&cik_TD, 196},
|
||||
{&gfx10_UTCL1, 65},
|
||||
{&gfx11_SQ_WGP, 511, 4},
|
||||
};
|
||||
|
||||
struct ac_pc_block *ac_lookup_counter(const struct ac_perfcounters *pc,
|
||||
unsigned index, unsigned *base_gid,
|
||||
unsigned *sub_index)
|
||||
|
|
@ -1164,6 +1197,10 @@ bool ac_init_perfcounters(const struct radeon_info *info,
|
|||
blocks = groups_gfx10;
|
||||
num_blocks = ARRAY_SIZE(groups_gfx10);
|
||||
break;
|
||||
case GFX11:
|
||||
blocks = groups_gfx11;
|
||||
num_blocks = ARRAY_SIZE(groups_gfx11);
|
||||
break;
|
||||
case GFX6:
|
||||
default:
|
||||
return false; /* not implemented */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue