Skip to content

Commit

Permalink
Revert "drm/i915/dp: Zero the DPCD data before connection probe"
Browse files Browse the repository at this point in the history
This reverts commit 97cdd71.

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.
  • Loading branch information
Keith Packard committed Aug 3, 2011
1 parent 11bee43 commit 4edd17a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,6 @@ 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);
Expand Down

0 comments on commit 4edd17a

Please sign in to comment.