drm/i915: Warn if panel power is already on when enabling it
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2014 18:30:07 +0000 (21:30 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 22:22:05 +0000 (23:22 +0100)
commite7a89acea863ffdffa66f4c6cda272eebd893c51
tree302daf8fd8391568365172fffc892df17bad3b1f
parent3936fcf453af4de87303f42bb34ef5e3eb13c139
drm/i915: Warn if panel power is already on when enabling it

We should never enable the panel power twice. That would indicate a bug
somewhere else as we would need to enable the port twice without
disabling it in between. Also print the port name.

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