aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-03 13:34:58 -0400
committerKeith Packard <keithp@keithp.com>2011-08-03 13:37:21 -0400
commit4edd17a25c99f34bd7a75c1daf31afe840237da8 (patch)
tree2f4d9a2b48672368576f835a59ce59526f103e88
parent11bee43ebba0bfc92165c059f6e9869197ea8889 (diff)
Revert "drm/i915/dp: Zero the DPCD data before connection probe"
This reverts commit 97cdd7101079adc3c626d159c62d43de949516c8. Clearing the dpcd data means that if the fetch fails, any previous data will be lost. On eDP, this is no fun as we only fetch dpcd at init time, so the memset will destroy that the next time through.
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index ba72fbcbbbc9..2f901c05ea2c 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1697,7 +1697,6 @@ intel_dp_detect(struct drm_connector *connector, bool force)
1697 struct edid *edid = NULL; 1697 struct edid *edid = NULL;
1698 1698
1699 intel_dp->has_audio = false; 1699 intel_dp->has_audio = false;
1700 memset(intel_dp->dpcd, 0, sizeof(intel_dp->dpcd));
1701 1700
1702 if (HAS_PCH_SPLIT(dev)) 1701 if (HAS_PCH_SPLIT(dev))
1703 status = ironlake_dp_detect(intel_dp); 1702 status = ironlake_dp_detect(intel_dp);