drm/i915: Warn if trying to poke a VLV backlight on invalid pipe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Nov 2014 09:15:59 +0000 (11:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:29:18 +0000 (10:29 +0100)
commit23ec0a8835f38c6e43570b54a786e058a9b9a268
treeb7082a2c9cbe7f0e9a4a942d7c120d8d195375e9
parent6a2c4232ece145d8b5a8f95f767bd6d0d2d2f2bb
drm/i915: Warn if trying to poke a VLV backlight on invalid pipe

VLV/CHV have backlight controls only on pipes A and B. Bail out
without touching registers that don't exist, and print a warning.

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>
drivers/gpu/drm/i915/intel_panel.c