|
@@ -3281,7 +3281,6 @@ void intel_ddi_init(struct drm_device *dev, enum port port)
|
|
|
intel_dig_port->saved_port_bits = I915_READ(DDI_BUF_CTL(port)) &
|
|
|
(DDI_BUF_PORT_REVERSAL |
|
|
|
DDI_A_4_LANES);
|
|
|
- intel_dig_port->max_lanes = max_lanes;
|
|
|
|
|
|
/*
|
|
|
* Bspec says that DDI_A_4_LANES is the only supported configuration
|
|
@@ -3294,9 +3293,12 @@ void intel_ddi_init(struct drm_device *dev, enum port port)
|
|
|
if (!(intel_dig_port->saved_port_bits & DDI_A_4_LANES)) {
|
|
|
DRM_DEBUG_KMS("BXT BIOS forgot to set DDI_A_4_LANES for port A; fixing\n");
|
|
|
intel_dig_port->saved_port_bits |= DDI_A_4_LANES;
|
|
|
+ max_lanes = 4;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ intel_dig_port->max_lanes = max_lanes;
|
|
|
+
|
|
|
intel_encoder->type = INTEL_OUTPUT_UNKNOWN;
|
|
|
intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
|
|
|
intel_encoder->cloneable = 0;
|