projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11bee43
)
Revert "drm/i915/dp: Zero the DPCD data before connection probe"
author
Keith Packard
<keithp@keithp.com>
Wed, 3 Aug 2011 17:34:58 +0000
(10:34 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 3 Aug 2011 17:37:21 +0000
(10:37 -0700)
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.
drivers/gpu/drm/i915/intel_dp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dp.c
b/drivers/gpu/drm/i915/intel_dp.c
index
ba72fbc
..
2f901c0
100644
(file)
--- 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)
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);