drm/i915/bxt: add support for setting backlight freq from vbt
authorJani Nikula <jani.nikula@intel.com>
Tue, 1 Dec 2015 08:23:50 +0000 (10:23 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Dec 2015 08:09:07 +0000 (10:09 +0200)
commit2dd6982e471f68137afd864fb4de64c59c7f5388
tree71ae8000e78f5257f67f766b7e29e583deceb3e1
parent18024199579882265653bfe9e2b1a3dcb5697cd9
drm/i915/bxt: add support for setting backlight freq from vbt

The only missing piece is the function to convert frequency to PWM
register value. The PWM is based on 19.2 MHz clock, except for BXT A
step, which is based on CDCLK, and which we ignore.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448958232-26520-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_panel.c