summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2026-07-27 15:39:13 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-08-06 12:46:18 -0400
commit220b9c3ad727b9a723360e950b3c67990210bb51 (patch)
treeaaaf777515f8bb42b7070a0f792d16f96583abc2 /tools/perf/scripts/python/export-to-postgresql.py
parente32b68c6b1353a01cbc55baa20ad2d314bc8a4a2 (diff)
drm/amd/ras: add get_die_id for uniras umc v12
For legacy ras eeprom format(only existed on nps1 system), die id (node instance) is not stored, we get it from mca address and physical address (pa) here, and now we can calculate pa in any nps mode for legacy ras eeprom data as well. It only applies to num_umc == 16 / UMC_VRAM_TYPE_HBM parts. Also factor out __ras_umc_eeprom_rec2nps_addr() so the die id can be passed in. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions