diff options
author | Matt Coster <matt.coster@imgtec.com> | 2025-04-10 12:55:10 +0300 |
---|---|---|
committer | Matt Coster <matt.coster@imgtec.com> | 2025-04-15 14:21:51 +0300 |
commit | 544b9b3b6fbd28473df9be42c815b2a5d97ae37b (patch) | |
tree | 100c1f9385a790e28affc55d6dee23b0a61a2360 /tools/perf/scripts/python/task-analyzer.py | |
parent | 28dbcfbc01f32ac9c7c5c5f7b3a12c8cf701a989 (diff) | |
download | linux-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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions