drm/i915/ddi: warn instead of oops on invalid ddi encoder type
authorJani Nikula <jani.nikula@intel.com>
Tue, 29 Sep 2015 07:24:25 +0000 (10:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 08:20:40 +0000 (10:20 +0200)
commit85b98a4c30c60272b2830d9acc43121eb2988bd2
tree1c3c18a81fb435fa31cf9bb7ecd495d16aa5885f
parent7bad74d57c81b08218cc564af3a78427e12bf3ac
drm/i915/ddi: warn instead of oops on invalid ddi encoder type

It's more useful to limp on than bring the kernel down. Hitting this is
a more likely event with BXT DSI, although care should be taken not to
call the function for DSI.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c