]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/ddi: Move DDI port detection to the corresponding helper
authorImre Deak <imre.deak@intel.com>
Thu, 20 Dec 2018 13:26:02 +0000 (15:26 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 15 Jan 2019 14:18:23 +0000 (16:18 +0200)
commite9d49bb718f394faab07498ca5f14d7f8414b1da
tree3a7d9f926fadf1ca013870780e558637ff3dfe3d
parentdecd29e6b5fe08e20fade72100e2d4a85dc5f766
drm/i915/ddi: Move DDI port detection to the corresponding helper

We have already a function to detect DDI ports using VBT, so instead of
opencoding the DDI specific version of this, move the opencoded part to
the existing helper.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181220132604.25222-1-imre.deak@intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_display.c