diff options
author | Tvrtko Ursulin <[email protected]> | 2024-06-04 17:02:10 +0100 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2024-06-05 10:44:51 +0200 |
commit | 9c3951ec27b947ea419b48294ff7342fd15005dc (patch) | |
tree | 579e8b2137ca48ec6ebc9ef5f8101a0e7ca12386 /tools/perf/scripts/python/syscall-counts.py | |
parent | 35e7a72a67190a3846cfe2f87add4ed1229b2248 (diff) |
drm/v3d: Fix perfmon build error/warning
Move static const array into the source file to fix the "defined but not
used" errors.
The fix is perhaps not the prettiest due hand crafting the array sizes
in v3d_performance_counters.h, but I did add some build time asserts to
validate the counts look sensible, so hopefully it is good enough for a
quick fix.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Fixes: 3cbcbe016c31 ("drm/v3d: Add Performance Counters descriptions for V3D 4.2 and 7.1")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/Cc: MaĆra Canal <[email protected]>
Cc: Iago Toral Quiroga <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Ashutosh Dixit <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions