aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2017-06-26 10:18:35 +0200
committerMaarten Lankhorst <[email protected]>2017-07-03 14:07:04 +0200
commita874b6a3fb22c8c30f36b1f6ba5430a4c2278a6a (patch)
treea9dfd749078333ca3aa56d5aee2f02fdeaa94b8d /tools/lib/api/debug.c
parent987f8c444aa2c33d98e7030d0c5f0a5325cc84ea (diff)
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 <[email protected]> Cc: Dhinakaran Pandiyan <[email protected]> Cc: Manasi Navare <[email protected]> Reviewed-by: Dhinakaran Pandiyan <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions