diff options
| author | Ville Syrjälä <[email protected]> | 2017-02-23 19:35:06 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-02-24 14:45:50 +0200 |
| commit | 97eeb872764ce524d87d0e0e9e25b1c9fae10b3a (patch) | |
| tree | 73f822f9e00a52199fe73eb9ee804764a1a27327 /tools/perf/scripts/python/bin | |
| parent | 7d1c42e679f920529df5cc11c6f827f17d4f8022 (diff) | |
drm/i915: Refactor translate_signal_level()
Convert the big switch statement in translate_signal_level() into a neat
table. The table also serves as documentation for the translation
tables. We'll also have other uses for this table later on.
v2: Remove superfluous space (David)
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: David Weinehall <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions