summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_display.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-05-01 01:38:08 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2021-05-10 17:06:23 +0300
commit5a9d38b20a5a7b3ce335d059963a8c3e92b1ba3c (patch)
tree7e7695a9323d687b2fcc450ad8a854aaa5cda679 /drivers/gpu/drm/i915/display/intel_display.c
parent097d9e902068426e335ba7c0115f2c8ae7f9d08e (diff)
downloadlinux-5a9d38b20a5a7b3ce335d059963a8c3e92b1ba3c.tar.xz
drm/i915/display: hide workaround for broken vbt in intel_bios.c
Instead of poluting the normal code path in intel_display.c, make intel_bios.c handle the brokenness of the VBT. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210430223808.1078010-5-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index d63775a8a8c6..fc7e18ff680a 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -11199,15 +11199,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)
intel_ddi_init(dev_priv, PORT_C);
intel_ddi_init(dev_priv, PORT_D);
intel_ddi_init(dev_priv, PORT_E);
-
- /*
- * On some ICL SKUs port F is not present, but broken VBTs mark
- * the port as present. Only try to initialize port F for the
- * SKUs that may actually have it.
- */
- if (IS_ICL_WITH_PORT_F(dev_priv))
- intel_ddi_init(dev_priv, PORT_F);
-
+ intel_ddi_init(dev_priv, PORT_F);
icl_dsi_init(dev_priv);
} else if (IS_GEMINILAKE(dev_priv) || IS_BROXTON(dev_priv)) {
intel_ddi_init(dev_priv, PORT_A);
@@ -11220,9 +11212,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv)
intel_ddi_init(dev_priv, PORT_C);
intel_ddi_init(dev_priv, PORT_D);
intel_ddi_init(dev_priv, PORT_E);
-
- if (IS_CNL_WITH_PORT_F(dev_priv))
- intel_ddi_init(dev_priv, PORT_F);
+ intel_ddi_init(dev_priv, PORT_F);
} else if (HAS_DDI(dev_priv)) {
u32 found;