drm/i915/cnp: set min brightness from VBT
authorLee, Shawn C <[email protected]>
Wed, 13 Sep 2017 05:19:20 +0000 (13:19 +0800)
committerJani Nikula <[email protected]>
Wed, 13 Sep 2017 07:57:05 +0000 (10:57 +0300)
commitf44e354f857f207cd361269c5e38e1f96e0b616c
treebee6e96df94171d7ff6269c7350f970c69aec7b9
parent33c8d8870c67faf3161898a56af98ac3c1c71450
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 <[email protected]>
Signed-off-by: Shawn Lee <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_panel.c