drm/i915: switch off backlight for backlight class 0 brightness
authorJani Nikula <jani.nikula@intel.com>
Tue, 12 Aug 2014 14:11:42 +0000 (17:11 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 08:54:21 +0000 (10:54 +0200)
commite6755fb78e8f20ecadf2a4080084121336624ad9
tree8f80a5e615fbe8ca3c698974d17d426f0d9c27fb
parent73580fb764c4213d305c0d36bd8f856ae631eb42
drm/i915: switch off backlight for backlight class 0 brightness

Make backlight class sysfs brightness 0 value switch off the backlight
for connectors that have the backlight_power callback defined. For eDP,
this has the similar caveats regarding power savings as bl_power as only
the power sequencer backlight control is switched off.

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