[PATCH 3/4] drm/i915/bios: parse DDI ports also on VLV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux