drm/i915/bios: add intel_bios_hdmi_level_shift()
authorJani Nikula <jani.nikula@intel.com>
Fri, 17 Jan 2020 14:29:22 +0000 (16:29 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Jan 2020 08:51:18 +0000 (10:51 +0200)
commit0aed3bdede66ae5febfb4d8ab52990e370ce6567
tree376fd096f97d1938ad97a0c751c3772a57b75874
parentd9ee21111bd96c02dd1cad9c2be68390ca65d5ef
drm/i915/bios: add intel_bios_hdmi_level_shift()

Don't access i915->vbt.ddi_port_info[] directly.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/da8ca144020fe165af33992661568d0586a2fdeb.1579270868.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c
drivers/gpu/drm/i915/display/intel_bios.h
drivers/gpu/drm/i915/display/intel_ddi.c