]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Detect port F presence via VBT
authorImre Deak <imre.deak@intel.com>
Thu, 20 Dec 2018 13:26:03 +0000 (15:26 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 15 Jan 2019 14:18:31 +0000 (16:18 +0200)
commit4764418256006e4a7c068cc3e087f3507f952e9c
tree6e5c79afac4e78b86be641cd223ab54d860b002b
parentcd13cba5bfed043ca185845cd56fd75f051f80f5
drm/i915/icl: Detect port F presence via VBT

Registering an output for a non-existent port (on a given SKU) can lead
to problems when trying to use the port, for instance timeouts during
power well enabling. Since there are no strap bits for port detection we
have to rely on VBT for this, so do that here.

There are no known SKUs where any of the A-E ports are non-existent, so
to reduce the likelihood of breakage due to incorrect VBT information,
do this detection only for port F (which is known to be missing on some
ICL SKUs).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108915
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181220132604.25222-2-imre.deak@intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c