drm/i915/bios: ignore HDMI on port A
authorJani Nikula <jani.nikula@intel.com>
Thu, 21 Sep 2017 14:19:20 +0000 (17:19 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 26 Sep 2017 16:14:28 +0000 (09:14 -0700)
commit2ba7d7e0437127314864238f8bfcb8369d81075c
tree8707fcde8c833f2112a6a60bcc8aeed584af09df
parentbf5d10dcae3549b779490672c705c6ac79cf68a3
drm/i915/bios: ignore HDMI on port A

The hardware state readout oopses after several warnings when trying to
use HDMI on port A, if such a combination is configured in VBT. Filter
the combo out already at the VBT parsing phase.

v2: also ignore DVI (Ville)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102889
Cc: stable@vger.kernel.org
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Daniel Drake <dan@reactivated.net>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170921141920.18172-1-jani.nikula@intel.com
(cherry picked from commit d27ffc1d00327c29b3aa97f941b42f0949f9e99f)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_bios.c