drm/i915: Restore brightness level in aux backlight driver
authorPuthikorn Voravootivat <puthik@chromium.org>
Thu, 11 May 2017 23:02:23 +0000 (16:02 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 12 May 2017 12:51:20 +0000 (15:51 +0300)
commit2630addf6b1e7beb21a5e8ec04562cae2e5d9567
tree29d1c809779b937a4e5c2ffd0016ff2d3de3d572
parente9c9e5ae8b57a6f29aecc303b36173e0be7fdd60
drm/i915: Restore brightness level in aux backlight driver

Some panel will default to zero brightness when turning the
panel off and on again. This patch restores last brightness
level back when panel is turning back on.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511230225.142870-8-puthik@chromium.org
drivers/gpu/drm/i915/intel_dp_aux_backlight.c