drm/i915/icl: Work around broken VBTs for port F detection
authorImre Deak <imre.deak@intel.com>
Thu, 20 Dec 2018 15:52:11 +0000 (17:52 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 31 Jan 2019 14:31:22 +0000 (16:31 +0200)
commit2b34e562361f6e440524272187432c551b57481e
treec2dc72e72dd362d4954e074ead55e0099cca7ef3
parent828ccb31cf410a1a01e2bdc2a3cf0dd5aabb755d
drm/i915/icl: Work around broken VBTs for port F detection

VBT may include incorrect information about the presence of port F. Work
around this on SKUs where we know the port is not present.

v2:
- Fix IS_ICL_WITH_PORT_F, so it's useable from any context.

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>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181220155211.31456-1-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c