summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-11-07 11:16:01 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-14 10:29:19 +0100
commitd3babd3fcd92f345ab3c627ad6bfa1463de52ba2 (patch)
tree2eecff0dd418f73e0cc834c4d0e08b74046d98b0 /drivers/gpu/drm/i915/i915_drv.h
parent2d72f6c7be9cd26485f88961f6a56fae3d9d17e9 (diff)
downloadlwn-d3babd3fcd92f345ab3c627ad6bfa1463de52ba2.tar.gz
lwn-d3babd3fcd92f345ab3c627ad6bfa1463de52ba2.zip
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ä <ville.syrjala@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions