diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-02-23 19:49:01 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-02-24 14:45:50 +0200 |
commit | ffe5111e28e52212040db1617a75035d6d6f9447 (patch) | |
tree | c0cfa733974261cdbb3ca13ed598cdf5b3f1c625 /kernel | |
parent | 97eeb872764ce524d87d0e0e9e25b1c9fae10b3a (diff) |
drm/i915: Introduce intel_ddi_dp_voltage_max()
Rather than sprinkling ideas of how big the DDI buf translation tables
are somewhere in intel_dp.c, let's concentrate it all in intel_ddi.c
where the actual tables are defined. To that end we introduce
intel_ddi_dp_voltage_max() which will actually look at the proper
translation table to determine what is the maximum voltage swing level
supported.
v2: Mask out the preemphasis bits from the return value of
intel_ddi_dp_voltage_max()
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223174901.26749-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions