Commit 3d208bef authored by Keith Packard's avatar Keith Packard

Merge branch 'drm-intel-fixes' into drm-intel-next

parents 62ac41a6 4edd17a2
...@@ -317,9 +317,17 @@ intel_dp_aux_ch(struct intel_dp *intel_dp, ...@@ -317,9 +317,17 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
else else
precharge = 5; precharge = 5;
if (I915_READ(ch_ctl) & DP_AUX_CH_CTL_SEND_BUSY) { /* Try to wait for any previous AUX channel activity */
DRM_ERROR("dp_aux_ch not started status 0x%08x\n", for (try = 0; try < 3; try++) {
I915_READ(ch_ctl)); status = I915_READ(ch_ctl);
if ((status & DP_AUX_CH_CTL_SEND_BUSY) == 0)
break;
msleep(1);
}
if (try == 3) {
WARN(1, "dp_aux_ch not started status 0x%08x\n",
I915_READ(ch_ctl));
return -EBUSY; return -EBUSY;
} }
...@@ -1690,7 +1698,6 @@ intel_dp_detect(struct drm_connector *connector, bool force) ...@@ -1690,7 +1698,6 @@ intel_dp_detect(struct drm_connector *connector, bool force)
struct edid *edid = NULL; struct edid *edid = NULL;
intel_dp->has_audio = false; intel_dp->has_audio = false;
memset(intel_dp->dpcd, 0, sizeof(intel_dp->dpcd));
if (HAS_PCH_SPLIT(dev)) if (HAS_PCH_SPLIT(dev))
status = ironlake_dp_detect(intel_dp); status = ironlake_dp_detect(intel_dp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment