summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>2024-05-02 00:07:59 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-18 00:40:37 +0300
commit3ed181b8ff43fc03c85d43a726e578bd131d39e4 (patch)
treedbb2840515087e2bc87941c1f1a7225c2e0289a6 /tools/perf/scripts/python/export-to-postgresql.py
parentb712d7c20133b67f13aa134e7534369f19e1214f (diff)
downloadlinux-3ed181b8ff43fc03c85d43a726e578bd131d39e4.tar.xz
drm/amdkfd: Ensure gpu_id is unique
gpu_id needs to be unique for user space to identify GPUs via KFD interface. In the current implementation there is a very small probability of having non unique gpu_ids. v2: Add check to confirm if gpu_id is unique. If not unique, find one Changed commit header to reflect the above v3: Use crc16 as suggested-by: Lijo Lazar <lijo.lazar@amd.com> Ensure that gpu_id != 0 Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@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