drm/i915: Set backlight mode before enable backlight
authorPuthikorn Voravootivat <puthik@chromium.org>
Thu, 11 May 2017 23:02:21 +0000 (16:02 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 12 May 2017 12:50:35 +0000 (15:50 +0300)
commite9c9e5ae8b57a6f29aecc303b36173e0be7fdd60
treeaee27bcd5505148dcf36ee35012ea13dcc5a2456
parent73ab484c90f5a696a6552c82f5d64b13303c0813
drm/i915: Set backlight mode before enable backlight

We should set backlight mode register before set register to
enable the backlight.

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-6-puthik@chromium.org
drivers/gpu/drm/i915/intel_dp_aux_backlight.c