]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bxt: set min brightness from VBT
authorLee, Shawn C <shawn.c.lee@intel.com>
Tue, 12 Sep 2017 03:36:30 +0000 (11:36 +0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 Sep 2017 22:22:25 +0000 (15:22 -0700)
commitac73661c6222faef1a97ec44f424234f165e4710
tree8fe107811294f828a89acf5e565e89b53867cc99
parent814feed316e9d15b0ae869ca729370e7630b8d13
drm/i915/bxt: set min brightness from VBT

Min brightness value from vbt was missing for BXT platform.
This setting have to refer backlight ic spec to restrict
min backlight output. Without this restriction, driver would
allow to configure lower brightness value and violate
backlight ic requirement.

Fixes: 0fb890c01349 ("drm/i915/bxt: BLC implementation")
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Cooper Chiou <cooper.chiou@intel.com>
Cc: Gary C Wang <gary.c.wang@intel.com>
Signed-off-by: Shawn Lee <shawn.c.lee@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1505187390-7039-1-git-send-email-shawn.c.lee@intel.com
(cherry picked from commit c3881128cb672cf484a52fbb36b5daa9044d9168)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_panel.c