[Intel-gfx] [PATCH 3/4] drm/i915/bios: parse DDI ports also on VLV
Jani Nikula
jani.nikula at intel.com
Tue Oct 29 15:39:29 UTC 2019
Start parsing child devices to the DDI ports array also on VLV. The
benefit is being able to unify DSI handling between VLV and ICL DSI in
the future.
There are some subtle changes where we start using the VBT more for VLV,
which may cause problems in case of bad VBTs:
- Start using max TMDS clock. Limited to new VBT versions, unlikely.
- Start using max DP rate. Limited to new VBT versions, unlikely.
- Start using HDMI alternate DDC pin.
- Start using DP alternate AUX channel.
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/display/intel_bios.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
index 7d7e953e4a30..b2712e0acaf9 100644
--- a/drivers/gpu/drm/i915/display/intel_bios.c
+++ b/drivers/gpu/drm/i915/display/intel_bios.c
@@ -1577,7 +1577,8 @@ static void parse_ddi_ports(struct drm_i915_private *dev_priv, u8 bdb_version)
const struct child_device_config *child;
int i;
- if (!HAS_DDI(dev_priv) && !IS_CHERRYVIEW(dev_priv))
+ if (!HAS_DDI(dev_priv) &&
+ !IS_CHERRYVIEW(dev_priv) && !IS_VALLEYVIEW(dev_priv))
return;
if (bdb_version < 155)
--
2.20.1
More information about the Intel-gfx
mailing list