diff options
| author | Ville Syrjälä <[email protected]> | 2014-11-07 11:16:01 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-11-14 10:29:19 +0100 |
| commit | d3babd3fcd92f345ab3c627ad6bfa1463de52ba2 (patch) | |
| tree | 2eecff0dd418f73e0cc834c4d0e08b74046d98b0 /tools/perf/scripts/python/sctop.py | |
| parent | 2d72f6c7be9cd26485f88961f6a56fae3d9d17e9 (diff) | |
drm/i915: Don't deref NULL crtc in intel_get_pipe_from_connector()
If the connector would have an encoder but the encoder didn't have a
crtc we might dereference a NULL crtc here. I suppose that should never
happen due to intel_sanitize_encoder(), but let's be a bit paranoid
print a warning if we ever hit this and return INVALID_PIPE to the
caller.
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions