summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMatt Coster <matt.coster@imgtec.com>2025-04-10 12:55:10 +0300
committerMatt Coster <matt.coster@imgtec.com>2025-04-15 14:21:51 +0300
commit544b9b3b6fbd28473df9be42c815b2a5d97ae37b (patch)
tree100c1f9385a790e28affc55d6dee23b0a61a2360 /tools/perf/scripts/python/syscall-counts.py
parent28dbcfbc01f32ac9c7c5c5f7b3a12c8cf701a989 (diff)
downloadlinux-544b9b3b6fbd28473df9be42c815b2a5d97ae37b.tar.xz
drm/imagination: Use a lookup table for fw defs
With more than two firmware processor types, the if/else chain in pvr_fw_init() gets a bit ridiculous. Use a static array indexed on pvr_fw_processor_type (which is now a proper enum instead of #defines) instead. Reviewed-by: Frank Binns <frank.binns@imgtec.com> Link: https://lore.kernel.org/r/20250410-sets-bxs-4-64-patch-v1-v6-11-eda620c5865f@imgtec.com Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions