diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2013-06-12 17:27:23 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-06-28 14:14:16 +0200 |
commit | acd8db100ed5220fe8043f91cdc20155325542a9 (patch) | |
tree | b08409e277f27a9f25fa808254ced1a5beeff55c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | d482e5fa299c2cfbb4700143dd766273730e2357 (diff) |
drm/i915: don't check encoder at DP connector destroy()
By the time we call intel_dp_destroy (which destroys the connector)
the encoder may have been destroyed already, so if we use it we may be
reading some free memory. That happens in drm_mode_config_cleanup()
and also inside intel_dp_init_connector() when we detect a ghost eDP.
I also hope this may solve some random memory bugs.
Reported by kmemcheck.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Zoltan Nyul <zoltan.nyul@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions