diff options
author | 2017-06-26 10:18:35 +0200 | |
---|---|---|
committer | 2017-07-03 14:07:04 +0200 | |
commit | a874b6a3fb22c8c30f36b1f6ba5430a4c2278a6a (patch) | |
tree | a9dfd749078333ca3aa56d5aee2f02fdeaa94b8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Hold RPM wakelock while initializing OA buffer (diff) | |
download | linux-dev-a874b6a3fb22c8c30f36b1f6ba5430a4c2278a6a.tar.xz linux-dev-a874b6a3fb22c8c30f36b1f6ba5430a4c2278a6a.zip |
drm/i915: Prevent kernel panic when reading/writing compliance debugfs files, v2.
When reading all debugfs files on a system with DP-MST the kernel panics
on a null pointer dereference because intel_dp is null for a DP-MST
connector. Detect this case and skip those connectors.
Also fix the write for the DP compliance file in the same way.
Changes since v1:
- Fix i915_displayport_test_active_write too. (DK)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170626081835.24251-1-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions