drm/i915: check connector->encoder before using it.
authorDave Airlie <airlied@redhat.com>
Fri, 2 May 2014 03:44:18 +0000 (13:44 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 21 Jul 2014 06:48:58 +0000 (16:48 +1000)
commit36cd7444c044806cd2a4e450a8385597221d5d25
treef10068f47dd96af9ed84bdb2adeff950a4e601d1
parent44905a27dd01f2bddd96664d0ab7da43a07f4d5a
drm/i915: check connector->encoder before using it.

DP MST will need connectors that aren't connected to specific
encoders, add some checks in advance to avoid oopses.

Reviewed-by: Todd Previte <tprevite@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_display.c