Added new ecc blocks and adjusted metric --ecc-block filtering

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ib2f69c7d59ee5108024794434fb202b5e4f58738
This commit is contained in:
Maisam Arif
2024-04-12 12:43:32 -05:00
committed by Maisam Arif
parent c551c3caed
commit 1bd18c1a65
8 changed files with 132 additions and 50 deletions
+26 -15
View File
@@ -331,7 +331,13 @@ class rsmi_gpu_block_t(c_int):
RSMI_GPU_BLOCK_MP0 = 0x0000000000000800
RSMI_GPU_BLOCK_MP1 = 0x0000000000001000
RSMI_GPU_BLOCK_FUSE = 0x0000000000002000
RSMI_GPU_BLOCK_LAST = RSMI_GPU_BLOCK_FUSE
RSMI_GPU_BLOCK_MCA = 0x0000000000004000
RSMI_GPU_BLOCK_VCN = 0x0000000000008000
RSMI_GPU_BLOCK_JPEG = 0x0000000000010000
RSMI_GPU_BLOCK_IH = 0x0000000000020000
RSMI_GPU_BLOCK_MPIO = 0x0000000000040000
RSMI_GPU_BLOCK_LAST = RSMI_GPU_BLOCK_MPIO
RSMI_GPU_BLOCK_RESERVED = 0x8000000000000000
@@ -340,20 +346,25 @@ rsmi_gpu_block = rsmi_gpu_block_t
# The following dictionary correlates with rsmi_gpu_block_t enum
rsmi_gpu_block_d = {
'UMC' : 0x0000000000000001,
'SDMA' : 0x0000000000000002,
'GFX' : 0x0000000000000004,
'MMHUB': 0x0000000000000008,
'ATHUB': 0x0000000000000010,
'PCIE_BIF': 0x0000000000000020,
'HDP': 0x0000000000000040,
'XGMI_WAFL': 0x0000000000000080,
'DF': 0x0000000000000100,
'SMN': 0x0000000000000200,
'SEM': 0x0000000000000400,
'MP0': 0x0000000000000800,
'MP1': 0x0000000000001000,
'FUSE': 0x0000000000002000
'UMC' : 0x0000000000000001,
'SDMA' : 0x0000000000000002,
'GFX' : 0x0000000000000004,
'MMHUB' : 0x0000000000000008,
'ATHUB' : 0x0000000000000010,
'PCIE_BIF' : 0x0000000000000020,
'HDP' : 0x0000000000000040,
'XGMI_WAFL' : 0x0000000000000080,
'DF' : 0x0000000000000100,
'SMN' : 0x0000000000000200,
'SEM' : 0x0000000000000400,
'MP0' : 0x0000000000000800,
'MP1' : 0x0000000000001000,
'FUSE' : 0x0000000000002000,
'MCA' : 0x0000000000004000,
'VCN' : 0x0000000000008000,
'JPEG' : 0x0000000000010000,
'IH' : 0x0000000000020000,
'MPIO' : 0x0000000000040000,
}