summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAsad Kamal <asad.kamal@amd.com>2026-03-02 13:35:30 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-03-04 11:50:56 -0500
commit8e8f6bda8a84f41c4002bca44ac89a5b3f8c7df2 (patch)
treef23ebd98e3984a8e1eb86e6e7ab342a28db7c64b /tools/perf/scripts/python/export-to-postgresql.py
parentb2e997e6cfefdc24241656ef2352ab1176823735 (diff)
drm/amd/pm: Avoid overflow when sorting pp_feature list
pp_features sorting uses int8_t sort_feature[] to store driver feature enum indices. On newer ASICs the enum index can exceed 127, causing signed overflow and silently dropping entries from the output. Switch the array to int16_t so all enum indices are preserved. Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@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