drm/i915/dp: Zero the DPCD data before connection probe
authorAdam Jackson <ajax@redhat.com>
Tue, 12 Jul 2011 21:38:00 +0000 (17:38 -0400)
committerKeith Packard <keithp@keithp.com>
Mon, 25 Jul 2011 17:34:40 +0000 (10:34 -0700)
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_dp.c

index e2aced6eec4c78c9ee63a8802ac782ce05daa2a0..de24f314eda9fdad2219917f4afa072d6546423e 100644 (file)
@@ -1673,6 +1673,7 @@ intel_dp_detect(struct drm_connector *connector, bool force)
        struct edid *edid = NULL;
 
        intel_dp->has_audio = false;
+       memset(intel_dp->dpcd, 0, sizeof(intel_dp->dpcd));
 
        if (HAS_PCH_SPLIT(dev))
                status = ironlake_dp_detect(intel_dp);