drm/i915: Warn if trying to register eDP on port != B/C on vlv/chv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2014 18:27:27 +0000 (21:27 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:21:59 +0000 (23:21 +0100)
commitc17ed5b5a46ec715620b0548a187d3ed98f4cf0b
tree17b3be8d42196361b57b8de038038250aad15310
parent6847d71bfc9b2855fb5fd0517309fb1adf9203ff
drm/i915: Warn if trying to register eDP on port != B/C on vlv/chv

Only ports B and C have the power sequencer and backlight controls,
so complain if we ever try to register an eDP connector on some other
port.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c