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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 Sep 2017 22:22:33 +0000 (15:22 -0700)
commit8c7a758873577f0d1bb3f879584338f73e6c6bc3
tree15072d84a507f453a1a2130d8afe629e253510cc
parentabeae421b03d800d33894df7fbca6d00c70c358e
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: 4c9f7086ac6d ("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
(cherry picked from commit f44e354f857f207cd361269c5e38e1f96e0b616c)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_panel.c