drm/i915/dp: make backlight bl_power control power sequencer backlight
authorJani Nikula <jani.nikula@intel.com>
Tue, 12 Aug 2014 14:11:41 +0000 (17:11 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 08:54:19 +0000 (10:54 +0200)
commit73580fb764c4213d305c0d36bd8f856ae631eb42
treef8747a2856b57584dfd85047c8fa70f3a3041b60
parentab656bb9012b9eabc21234caa47af478ea6ceec5
drm/i915/dp: make backlight bl_power control power sequencer backlight

This lets the userspace switch off the backlight using the backlight
class sysfs bl_power file. The switch is done using the power sequencer;
the backlight PWM, and everything else, remains enabled. The display
backlight won't draw power, but for maximum power savings the encoder
needs to be switched off.

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