drm/i915: Drop AUX backlight enable check for backlight control
authorPuthikorn Voravootivat <puthik@chromium.org>
Tue, 23 May 2017 22:38:01 +0000 (15:38 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 26 May 2017 12:02:14 +0000 (15:02 +0300)
commit49d191dd5d41ca3a6b447075d50ce5f287171f71
tree691ffa4c745cf263afa27e4e5fb235eaec59a68c
parent80debff8d9afbf649a15c7ecb0c2cdeb89b36231
drm/i915: Drop AUX backlight enable check for backlight control

There are some panel that
(1) does not support display backlight enable via AUX
(2) support display backlight adjustment via AUX
(3) support display backlight enable via eDP BL_ENABLE pin

The current driver required that (1) must be support to enable (2).
This patch drops that requirement.

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