]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix vbt PWM max setup for CTG
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Nov 2015 14:23:43 +0000 (16:23 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Dec 2015 09:22:56 +0000 (11:22 +0200)
commit292654e6c2d64d913236aa22488e424d5075f9a1
tree526e97b48972f1c2d3a0d50793cab86e9c690e33
parentbcf5ecc38845488819081d4e801ca221a5356e33
drm/i915: Fix vbt PWM max setup for CTG

CTG uses hrawclk for backlight, so calculate the max based on that
instead of cdclk.

Fixes: 7ffcb2f8e32a ("drm/i915: initialize backlight max from VBT")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448893432-6978-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_panel.c