summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-02-23 19:35:06 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-02-24 14:45:50 +0200
commit97eeb872764ce524d87d0e0e9e25b1c9fae10b3a (patch)
tree73f822f9e00a52199fe73eb9ee804764a1a27327 /drivers/gpu/drm/i915/intel_drv.h
parent7d1c42e679f920529df5cc11c6f827f17d4f8022 (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ä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170223173507.17600-2-ville.syrjala@linux.intel.com Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
0 files changed, 0 insertions, 0 deletions