]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnp: set min brightness from VBT
authorLee, Shawn C <shawn.c.lee@intel.com>
Wed, 13 Sep 2017 05:19:20 +0000 (13:19 +0800)
committerJani Nikula <jani.nikula@intel.com>
Wed, 13 Sep 2017 07:57:05 +0000 (10:57 +0300)
commit1345a2d6cff8fd96d0fae375c3d27855ef4721cc
treebee6e96df94171d7ff6269c7350f970c69aec7b9
parentf7bc0f9159e11b83102d6e0594aeaed730a0bc96
drm/i915/cnp: set min brightness from VBT

Min brightness value from vbt was missing for CNP 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: 848435e57429 ("drm/i915/cnp: Backlight support for CNP.")
Cc: Jani Nikula <jani.nikula@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/1505279961-16140-1-git-send-email-shawn.c.lee@intel.com
drivers/gpu/drm/i915/intel_panel.c