diff options
| author | Ville Syrjälä <[email protected]> | 2019-02-14 21:22:17 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2019-02-20 22:46:57 +0200 |
| commit | b49aacc8b9eaab0f582f93f02b7f23a969832839 (patch) | |
| tree | 52394028487db54b28724678ca5806e13fcbcb7b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 87c2b659d1c810e9501c75def98fbe797176d50d (diff) | |
drm/i915: Use named initializers for the crc source name array
We assume that the index of the string in the crc source names
array matches the enum value for the crc source. Let's use named
initializers to make sure that is indeed the case even if someone
rearranges either the enum or the array.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions