diff options
author | Xiang Liu <xiang.liu@amd.com> | 2025-03-06 15:23:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-07 12:54:08 -0500 |
commit | 148084bbb1e5131b3f1200c72c2b60d85e73aa75 (patch) | |
tree | 6c0a949d681455e41a81de987e96bc97849ab122 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 216be476f14a8a129f1e3210d3c97b9a94942fea (diff) |
drm/amdgpu: Use unique CPER record id across devices
Encode socket id to CPER record id to be unique across devices.
v2: add pointer check for adev->smuio.funcs->get_socket_id
v2: set 0 if adev->smuio.funcs->get_socket_id is NULL
Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions