Commit 97cdd710 authored by Adam Jackson's avatar Adam Jackson Committed by Keith Packard

drm/i915/dp: Zero the DPCD data before connection probe

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 9c54c0dd
...@@ -1673,6 +1673,7 @@ intel_dp_detect(struct drm_connector *connector, bool force) ...@@ -1673,6 +1673,7 @@ 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