diff options
author | 2025-04-10 10:55:10 +0100 | |
---|---|---|
committer | 2025-04-15 12:21:51 +0100 | |
commit | 544b9b3b6fbd28473df9be42c815b2a5d97ae37b (patch) | |
tree | 100c1f9385a790e28affc55d6dee23b0a61a2360 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/imagination: Make has_fixed_data_addr a value (diff) | |
download | wireguard-linux-544b9b3b6fbd28473df9be42c815b2a5d97ae37b.tar.xz wireguard-linux-544b9b3b6fbd28473df9be42c815b2a5d97ae37b.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions